first commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<IfModule authz_core_module>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
<IfModule !authz_core_module>
|
||||
Deny from all
|
||||
</IfModule>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* The goal of this file is to allow developers a location
|
||||
* where they can overwrite core procedural functions and
|
||||
* replace them with their own. This file is loaded during
|
||||
* the bootstrap process and is called during the frameworks
|
||||
* execution.
|
||||
*
|
||||
* This can be looked at as a `master helper` file that is
|
||||
* loaded early on, and may also contain additional functions
|
||||
* that you'd like to use throughout your entire application
|
||||
*
|
||||
* @see: https://codeigniter4.github.io/CodeIgniter4/
|
||||
*/
|
||||
@@ -0,0 +1,464 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class App extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Base Site URL
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* URL to your CodeIgniter root. Typically this will be your base URL,
|
||||
* WITH a trailing slash:
|
||||
*
|
||||
* http://example.com/
|
||||
*
|
||||
* If this is not set then CodeIgniter will try guess the protocol, domain
|
||||
* and path to your installation. However, you should always configure this
|
||||
* explicitly and never rely on auto-guessing, especially in production
|
||||
* environments.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $baseURL = 'http://localhost:8080/';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* 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.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $indexPage = 'index.php';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* URI PROTOCOL
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* This item determines which getServer 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!
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $uriProtocol = 'REQUEST_URI';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Default Locale
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The Locale roughly represents the language and location that your visitor
|
||||
* is viewing the site from. It affects the language strings and other
|
||||
* strings (like currency markers, numbers, etc), that your program
|
||||
* should run under for this request.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $defaultLocale = 'en';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Negotiate Locale
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* If true, the current Request object will automatically determine the
|
||||
* language to use based on the value of the Accept-Language header.
|
||||
*
|
||||
* If false, no automatic detection will be performed.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $negotiateLocale = false;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Supported Locales
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* If $negotiateLocale is true, this array lists the locales supported
|
||||
* by the application in descending order of priority. If no match is
|
||||
* found, the first locale will be used.
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
public $supportedLocales = ['en'];
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Application Timezone
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The default timezone that will be used in your application to display
|
||||
* dates with the date helper, and can be retrieved through app_timezone()
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $appTimezone = 'America/Chicago';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* 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.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $charset = 'UTF-8';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* URI PROTOCOL
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* If true, this will force every request made to this application to be
|
||||
* made via a secure connection (HTTPS). If the incoming request is not
|
||||
* secure, the user will be redirected to a secure version of the page
|
||||
* and the HTTP Strict Transport Security header will be set.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $forceGlobalSecureRequests = false;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Session Driver
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The session storage driver to use:
|
||||
* - `CodeIgniter\Session\Handlers\FileHandler`
|
||||
* - `CodeIgniter\Session\Handlers\DatabaseHandler`
|
||||
* - `CodeIgniter\Session\Handlers\MemcachedHandler`
|
||||
* - `CodeIgniter\Session\Handlers\RedisHandler`
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Session Cookie Name
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The session cookie name, must contain only [0-9a-z_-] characters
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sessionCookieName = 'ci_session';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Session Expiration
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The number of SECONDS you want the session to last.
|
||||
* Setting to 0 (zero) means expire when the browser is closed.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $sessionExpiration = 7200;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Session Save Path
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The location to save sessions to and is 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!
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sessionSavePath = WRITEPATH . 'session';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Session 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.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $sessionMatchIP = false;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Session Time to Update
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* How many seconds between CI regenerating the session ID.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $sessionTimeToUpdate = 300;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Session 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.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $sessionRegenerateDestroy = false;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Prefix
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Set a cookie name prefix if you need to avoid collisions.
|
||||
*
|
||||
* @var string
|
||||
*
|
||||
* @deprecated use Config\Cookie::$prefix property instead.
|
||||
*/
|
||||
public $cookiePrefix = '';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Domain
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Set to `.your-domain.com` for site-wide cookies.
|
||||
*
|
||||
* @var string
|
||||
*
|
||||
* @deprecated use Config\Cookie::$domain property instead.
|
||||
*/
|
||||
public $cookieDomain = '';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Path
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Typically will be a forward slash.
|
||||
*
|
||||
* @var string
|
||||
*
|
||||
* @deprecated use Config\Cookie::$path property instead.
|
||||
*/
|
||||
public $cookiePath = '/';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Secure
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Cookie will only be set if a secure HTTPS connection exists.
|
||||
*
|
||||
* @var bool
|
||||
*
|
||||
* @deprecated use Config\Cookie::$secure property instead.
|
||||
*/
|
||||
public $cookieSecure = false;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie HttpOnly
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Cookie will only be accessible via HTTP(S) (no JavaScript).
|
||||
*
|
||||
* @var bool
|
||||
*
|
||||
* @deprecated use Config\Cookie::$httponly property instead.
|
||||
*/
|
||||
public $cookieHTTPOnly = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie SameSite
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Configure cookie SameSite setting. Allowed values are:
|
||||
* - None
|
||||
* - Lax
|
||||
* - Strict
|
||||
* - ''
|
||||
*
|
||||
* Alternatively, you can use the constant names:
|
||||
* - `Cookie::SAMESITE_NONE`
|
||||
* - `Cookie::SAMESITE_LAX`
|
||||
* - `Cookie::SAMESITE_STRICT`
|
||||
*
|
||||
* Defaults to `Lax` for compatibility with modern browsers. Setting `''`
|
||||
* (empty string) means default SameSite attribute set by browsers (`Lax`)
|
||||
* will be set on cookies. If set to `None`, `$cookieSecure` must also be set.
|
||||
*
|
||||
* @var string
|
||||
*
|
||||
* @deprecated use Config\Cookie::$samesite property instead.
|
||||
*/
|
||||
public $cookieSameSite = 'Lax';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* 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: ['10.0.1.200', '192.168.5.0/24']
|
||||
*
|
||||
* @var string|string[]
|
||||
*/
|
||||
public $proxyIPs = '';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Token Name
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The token name.
|
||||
*
|
||||
* @deprecated Use `Config\Security` $tokenName property instead of using this property.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $CSRFTokenName = 'csrf_test_name';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Header Name
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The header name.
|
||||
*
|
||||
* @deprecated Use `Config\Security` $headerName property instead of using this property.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $CSRFHeaderName = 'X-CSRF-TOKEN';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Cookie Name
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The cookie name.
|
||||
*
|
||||
* @deprecated Use `Config\Security` $cookieName property instead of using this property.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $CSRFCookieName = 'csrf_cookie_name';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Expire
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The number in seconds the token should expire.
|
||||
*
|
||||
* @deprecated Use `Config\Security` $expire property instead of using this property.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $CSRFExpire = 7200;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Regenerate
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Regenerate token on every submission?
|
||||
*
|
||||
* @deprecated Use `Config\Security` $regenerate property instead of using this property.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $CSRFRegenerate = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Redirect
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Redirect to previous page with error on failure?
|
||||
*
|
||||
* @deprecated Use `Config\Security` $redirect property instead of using this property.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $CSRFRedirect = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF SameSite
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Setting for CSRF SameSite cookie token. Allowed values are:
|
||||
* - None
|
||||
* - Lax
|
||||
* - Strict
|
||||
* - ''
|
||||
*
|
||||
* Defaults to `Lax` as recommended in this link:
|
||||
*
|
||||
* @see https://portswigger.net/web-security/csrf/samesite-cookies
|
||||
* @deprecated Use `Config\Security` $samesite property instead of using this property.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $CSRFSameSite = 'Lax';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Content Security Policy
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Enables the Response's Content Secure Policy to restrict the sources that
|
||||
* can be used for images, scripts, CSS files, audio, video, etc. If enabled,
|
||||
* the Response object will populate default values for the policy from the
|
||||
* `ContentSecurityPolicy.php` file. Controllers can always add to those
|
||||
* restrictions at run time.
|
||||
*
|
||||
* For a better understanding of CSP, see these documents:
|
||||
*
|
||||
* @see http://www.html5rocks.com/en/tutorials/security/content-security-policy/
|
||||
* @see http://www.w3.org/TR/CSP/
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $CSPEnabled = false;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\AutoloadConfig;
|
||||
|
||||
/**
|
||||
* -------------------------------------------------------------------
|
||||
* AUTOLOADER CONFIGURATION
|
||||
* -------------------------------------------------------------------
|
||||
*
|
||||
* This file defines the namespaces and class maps so the Autoloader
|
||||
* can find the files as needed.
|
||||
*
|
||||
* NOTE: If you use an identical key in $psr4 or $classmap, then
|
||||
* the values in this file will overwrite the framework's values.
|
||||
*/
|
||||
class Autoload extends AutoloadConfig
|
||||
{
|
||||
/**
|
||||
* -------------------------------------------------------------------
|
||||
* Namespaces
|
||||
* -------------------------------------------------------------------
|
||||
* This maps the locations of any namespaces in your application to
|
||||
* their location on the file system. These are used by the autoloader
|
||||
* to locate files the first time they have been instantiated.
|
||||
*
|
||||
* The '/app' and '/system' directories are already mapped for you.
|
||||
* you may change the name of the 'App' namespace if you wish,
|
||||
* but this should be done prior to creating any namespaced classes,
|
||||
* else you will need to modify all of those classes for this to work.
|
||||
*
|
||||
* Prototype:
|
||||
*```
|
||||
* $psr4 = [
|
||||
* 'CodeIgniter' => SYSTEMPATH,
|
||||
* 'App' => APPPATH
|
||||
* ];
|
||||
*```
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $psr4 = [
|
||||
APP_NAMESPACE => APPPATH, // For custom app namespace
|
||||
'Config' => APPPATH . 'Config',
|
||||
];
|
||||
|
||||
/**
|
||||
* -------------------------------------------------------------------
|
||||
* Class Map
|
||||
* -------------------------------------------------------------------
|
||||
* The class map provides a map of class names and their exact
|
||||
* location on the drive. Classes loaded in this manner will have
|
||||
* slightly faster performance because they will not have to be
|
||||
* searched for within one or more directories as they would if they
|
||||
* were being autoloaded through a namespace.
|
||||
*
|
||||
* Prototype:
|
||||
*```
|
||||
* $classmap = [
|
||||
* 'MyClass' => '/path/to/class/file.php'
|
||||
* ];
|
||||
*```
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $classmap = [];
|
||||
|
||||
/**
|
||||
* -------------------------------------------------------------------
|
||||
* Files
|
||||
* -------------------------------------------------------------------
|
||||
* The files array provides a list of paths to __non-class__ files
|
||||
* that will be autoloaded. This can be useful for bootstrap operations
|
||||
* or for loading functions.
|
||||
*
|
||||
* Prototype:
|
||||
* ```
|
||||
* $files = [
|
||||
* '/path/to/my/file.php',
|
||||
* ];
|
||||
* ```
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
public $files = [];
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| ERROR DISPLAY
|
||||
|--------------------------------------------------------------------------
|
||||
| In development, we want to show as many errors as possible to help
|
||||
| make sure they don't make it to production. And save us hours of
|
||||
| painful debugging.
|
||||
*/
|
||||
error_reporting(-1);
|
||||
ini_set('display_errors', '1');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| DEBUG BACKTRACES
|
||||
|--------------------------------------------------------------------------
|
||||
| If true, this constant will tell the error screens to display debug
|
||||
| backtraces along with the other error information. If you would
|
||||
| prefer to not see this, set this value to false.
|
||||
*/
|
||||
defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| DEBUG MODE
|
||||
|--------------------------------------------------------------------------
|
||||
| Debug mode is an experimental flag that can allow changes throughout
|
||||
| the system. This will control whether Kint is loaded, and a few other
|
||||
| items. It can always be used within your own application too.
|
||||
*/
|
||||
defined('CI_DEBUG') || define('CI_DEBUG', true);
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| ERROR DISPLAY
|
||||
|--------------------------------------------------------------------------
|
||||
| Don't show ANY in production environments. Instead, let the system catch
|
||||
| it and display a generic error message.
|
||||
*/
|
||||
ini_set('display_errors', '0');
|
||||
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| DEBUG MODE
|
||||
|--------------------------------------------------------------------------
|
||||
| Debug mode is an experimental flag that can allow changes throughout
|
||||
| the system. It's not widely used currently, and may not survive
|
||||
| release of the framework.
|
||||
*/
|
||||
defined('CI_DEBUG') || define('CI_DEBUG', false);
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| ERROR DISPLAY
|
||||
|--------------------------------------------------------------------------
|
||||
| In development, we want to show as many errors as possible to help
|
||||
| make sure they don't make it to production. And save us hours of
|
||||
| painful debugging.
|
||||
*/
|
||||
error_reporting(-1);
|
||||
ini_set('display_errors', '1');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| DEBUG BACKTRACES
|
||||
|--------------------------------------------------------------------------
|
||||
| If true, this constant will tell the error screens to display debug
|
||||
| backtraces along with the other error information. If you would
|
||||
| prefer to not see this, set this value to false.
|
||||
*/
|
||||
defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| DEBUG MODE
|
||||
|--------------------------------------------------------------------------
|
||||
| Debug mode is an experimental flag that can allow changes throughout
|
||||
| the system. It's not widely used currently, and may not survive
|
||||
| release of the framework.
|
||||
*/
|
||||
defined('CI_DEBUG') || define('CI_DEBUG', true);
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class CURLRequest extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CURLRequest Share Options
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Whether share options between requests or not.
|
||||
*
|
||||
* If true, all the options won't be reset between requests.
|
||||
* It may cause an error request with unnecessary headers.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $shareOptions = true;
|
||||
}
|
||||
@@ -0,0 +1,181 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Cache\Handlers\DummyHandler;
|
||||
use CodeIgniter\Cache\Handlers\FileHandler;
|
||||
use CodeIgniter\Cache\Handlers\MemcachedHandler;
|
||||
use CodeIgniter\Cache\Handlers\PredisHandler;
|
||||
use CodeIgniter\Cache\Handlers\RedisHandler;
|
||||
use CodeIgniter\Cache\Handlers\WincacheHandler;
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class Cache extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Primary Handler
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The name of the preferred handler that should be used. If for some reason
|
||||
* it is not available, the $backupHandler will be used in its place.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $handler = 'file';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Backup Handler
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The name of the handler that will be used in case the first one is
|
||||
* unreachable. Often, 'file' is used here since the filesystem is
|
||||
* always available, though that's not always practical for the app.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $backupHandler = 'dummy';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cache Directory Path
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The path to where cache files should be stored, if using a file-based
|
||||
* system.
|
||||
*
|
||||
* @var string
|
||||
*
|
||||
* @deprecated Use the driver-specific variant under $file
|
||||
*/
|
||||
public $storePath = WRITEPATH . 'cache/';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* 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.
|
||||
*
|
||||
* @var bool|string[]
|
||||
*/
|
||||
public $cacheQueryString = false;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Key Prefix
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* This string is added to all cache item names to help avoid collisions
|
||||
* if you run multiple applications with the same cache engine.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $prefix = '';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Default TTL
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The default number of seconds to save items when none is specified.
|
||||
*
|
||||
* WARNING: This is not used by framework handlers where 60 seconds is
|
||||
* hard-coded, but may be useful to projects and modules. This will replace
|
||||
* the hard-coded value in a future release.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $ttl = 60;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Reserved Characters
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* A string of reserved characters that will not be allowed in keys or tags.
|
||||
* Strings that violate this restriction will cause handlers to throw.
|
||||
* Default: {}()/\@:
|
||||
* Note: The default set is required for PSR-6 compliance.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $reservedCharacters = '{}()/\@:';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* File settings
|
||||
* --------------------------------------------------------------------------
|
||||
* Your file storage preferences can be specified below, if you are using
|
||||
* the File driver.
|
||||
*
|
||||
* @var array<string, int|string|null>
|
||||
*/
|
||||
public $file = [
|
||||
'storePath' => WRITEPATH . 'cache/',
|
||||
'mode' => 0640,
|
||||
];
|
||||
|
||||
/**
|
||||
* -------------------------------------------------------------------------
|
||||
* Memcached settings
|
||||
* -------------------------------------------------------------------------
|
||||
* Your Memcached servers can be specified below, if you are using
|
||||
* the Memcached drivers.
|
||||
*
|
||||
* @see https://codeigniter.com/user_guide/libraries/caching.html#memcached
|
||||
*
|
||||
* @var array<string, boolean|int|string>
|
||||
*/
|
||||
public $memcached = [
|
||||
'host' => '127.0.0.1',
|
||||
'port' => 11211,
|
||||
'weight' => 1,
|
||||
'raw' => false,
|
||||
];
|
||||
|
||||
/**
|
||||
* -------------------------------------------------------------------------
|
||||
* Redis settings
|
||||
* -------------------------------------------------------------------------
|
||||
* Your Redis server can be specified below, if you are using
|
||||
* the Redis or Predis drivers.
|
||||
*
|
||||
* @var array<string, int|string|null>
|
||||
*/
|
||||
public $redis = [
|
||||
'host' => '127.0.0.1',
|
||||
'password' => null,
|
||||
'port' => 6379,
|
||||
'timeout' => 0,
|
||||
'database' => 0,
|
||||
];
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Available Cache Handlers
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* This is an array of cache engine alias' and class names. Only engines
|
||||
* that are listed here are allowed to be used.
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $validHandlers = [
|
||||
'dummy' => DummyHandler::class,
|
||||
'file' => FileHandler::class,
|
||||
'memcached' => MemcachedHandler::class,
|
||||
'predis' => PredisHandler::class,
|
||||
'redis' => RedisHandler::class,
|
||||
'wincache' => WincacheHandler::class,
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
| --------------------------------------------------------------------
|
||||
| App Namespace
|
||||
| --------------------------------------------------------------------
|
||||
|
|
||||
| This defines the default Namespace that is used throughout
|
||||
| CodeIgniter to refer to the Application directory. Change
|
||||
| this constant to change the namespace that all application
|
||||
| classes should use.
|
||||
|
|
||||
| NOTE: changing this will require manually modifying the
|
||||
| existing namespaces of App\* namespaced-classes.
|
||||
*/
|
||||
defined('APP_NAMESPACE') || define('APP_NAMESPACE', 'App');
|
||||
|
||||
/*
|
||||
| --------------------------------------------------------------------------
|
||||
| Composer Path
|
||||
| --------------------------------------------------------------------------
|
||||
|
|
||||
| The path that Composer's autoload file is expected to live. By default,
|
||||
| the vendor folder is in the Root directory, but you can customize that here.
|
||||
*/
|
||||
defined('COMPOSER_PATH') || define('COMPOSER_PATH', ROOTPATH . 'vendor/autoload.php');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Timing Constants
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Provide simple ways to work with the myriad of PHP functions that
|
||||
| require information to be in seconds.
|
||||
*/
|
||||
defined('SECOND') || define('SECOND', 1);
|
||||
defined('MINUTE') || define('MINUTE', 60);
|
||||
defined('HOUR') || define('HOUR', 3600);
|
||||
defined('DAY') || define('DAY', 86400);
|
||||
defined('WEEK') || define('WEEK', 604800);
|
||||
defined('MONTH') || define('MONTH', 2592000);
|
||||
defined('YEAR') || define('YEAR', 31536000);
|
||||
defined('DECADE') || define('DECADE', 315360000);
|
||||
|
||||
/*
|
||||
| --------------------------------------------------------------------------
|
||||
| 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') || define('EXIT_SUCCESS', 0); // no errors
|
||||
defined('EXIT_ERROR') || define('EXIT_ERROR', 1); // generic error
|
||||
defined('EXIT_CONFIG') || define('EXIT_CONFIG', 3); // configuration error
|
||||
defined('EXIT_UNKNOWN_FILE') || define('EXIT_UNKNOWN_FILE', 4); // file not found
|
||||
defined('EXIT_UNKNOWN_CLASS') || define('EXIT_UNKNOWN_CLASS', 5); // unknown class
|
||||
defined('EXIT_UNKNOWN_METHOD') || define('EXIT_UNKNOWN_METHOD', 6); // unknown class member
|
||||
defined('EXIT_USER_INPUT') || define('EXIT_USER_INPUT', 7); // invalid user input
|
||||
defined('EXIT_DATABASE') || define('EXIT_DATABASE', 8); // database error
|
||||
defined('EXIT__AUTO_MIN') || define('EXIT__AUTO_MIN', 9); // lowest automatically-assigned error code
|
||||
defined('EXIT__AUTO_MAX') || define('EXIT__AUTO_MAX', 125); // highest automatically-assigned error code
|
||||
|
||||
|
||||
|
||||
|
||||
define('SITE_NAME', 'ChiefSoft Works');
|
||||
define('SITE_ADDRL1', '2451 Cumberland Pkwy');
|
||||
define('SITE_ADDRL2', 'Atlanta,GA 30339');
|
||||
|
||||
define('SITE_PHONE', '770 544-8029');
|
||||
define('SITE_EMAIL', 'contact@chiefsoft.com');
|
||||
|
||||
define('SITE_FACEBOOK', 'https://www.facebook.com/pages/ChiefSoft-Works/1545928555688960');
|
||||
define('SITE_TWITTER', 'https://twitter.com/chiefsoft');
|
||||
define('SITE_CONTACT_HEAD','We love to hear from you.<br> Send us a message.');
|
||||
define('SITE_CONTACT_OTHER_TXT','We love to hear from you. You can send a message anytime, and we will get back with you soon.<br> ');
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,167 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
/**
|
||||
* Stores the default settings for the ContentSecurityPolicy, if you
|
||||
* choose to use it. The values here will be read in and set as defaults
|
||||
* for the site. If needed, they can be overridden on a page-by-page basis.
|
||||
*
|
||||
* Suggested reference for explanations:
|
||||
*
|
||||
* @see https://www.html5rocks.com/en/tutorials/security/content-security-policy/
|
||||
*/
|
||||
class ContentSecurityPolicy extends BaseConfig
|
||||
{
|
||||
//-------------------------------------------------------------------------
|
||||
// Broadbrush CSP management
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Default CSP report context
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $reportOnly = false;
|
||||
|
||||
/**
|
||||
* Specifies a URL where a browser will send reports
|
||||
* when a content security policy is violated.
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
public $reportURI;
|
||||
|
||||
/**
|
||||
* Instructs user agents to rewrite URL schemes, changing
|
||||
* HTTP to HTTPS. This directive is for websites with
|
||||
* large numbers of old URLs that need to be rewritten.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $upgradeInsecureRequests = false;
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
// Sources allowed
|
||||
// Note: once you set a policy to 'none', it cannot be further restricted
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Will default to self if not overridden
|
||||
*
|
||||
* @var string|string[]|null
|
||||
*/
|
||||
public $defaultSrc;
|
||||
|
||||
/**
|
||||
* Lists allowed scripts' URLs.
|
||||
*
|
||||
* @var string|string[]
|
||||
*/
|
||||
public $scriptSrc = 'self';
|
||||
|
||||
/**
|
||||
* Lists allowed stylesheets' URLs.
|
||||
*
|
||||
* @var string|string[]
|
||||
*/
|
||||
public $styleSrc = 'self';
|
||||
|
||||
/**
|
||||
* Defines the origins from which images can be loaded.
|
||||
*
|
||||
* @var string|string[]
|
||||
*/
|
||||
public $imageSrc = 'self';
|
||||
|
||||
/**
|
||||
* Restricts the URLs that can appear in a page's `<base>` element.
|
||||
*
|
||||
* Will default to self if not overridden
|
||||
*
|
||||
* @var string|string[]|null
|
||||
*/
|
||||
public $baseURI;
|
||||
|
||||
/**
|
||||
* Lists the URLs for workers and embedded frame contents
|
||||
*
|
||||
* @var string|string[]
|
||||
*/
|
||||
public $childSrc = 'self';
|
||||
|
||||
/**
|
||||
* Limits the origins that you can connect to (via XHR,
|
||||
* WebSockets, and EventSource).
|
||||
*
|
||||
* @var string|string[]
|
||||
*/
|
||||
public $connectSrc = 'self';
|
||||
|
||||
/**
|
||||
* Specifies the origins that can serve web fonts.
|
||||
*
|
||||
* @var string|string[]
|
||||
*/
|
||||
public $fontSrc;
|
||||
|
||||
/**
|
||||
* Lists valid endpoints for submission from `<form>` tags.
|
||||
*
|
||||
* @var string|string[]
|
||||
*/
|
||||
public $formAction = 'self';
|
||||
|
||||
/**
|
||||
* Specifies the sources that can embed the current page.
|
||||
* This directive applies to `<frame>`, `<iframe>`, `<embed>`,
|
||||
* and `<applet>` tags. This directive can't be used in
|
||||
* `<meta>` tags and applies only to non-HTML resources.
|
||||
*
|
||||
* @var string|string[]|null
|
||||
*/
|
||||
public $frameAncestors;
|
||||
|
||||
/**
|
||||
* The frame-src directive restricts the URLs which may
|
||||
* be loaded into nested browsing contexts.
|
||||
*
|
||||
* @var array|string|null
|
||||
*/
|
||||
public $frameSrc;
|
||||
|
||||
/**
|
||||
* Restricts the origins allowed to deliver video and audio.
|
||||
*
|
||||
* @var string|string[]|null
|
||||
*/
|
||||
public $mediaSrc;
|
||||
|
||||
/**
|
||||
* Allows control over Flash and other plugins.
|
||||
*
|
||||
* @var string|string[]
|
||||
*/
|
||||
public $objectSrc = 'self';
|
||||
|
||||
/**
|
||||
* @var string|string[]|null
|
||||
*/
|
||||
public $manifestSrc;
|
||||
|
||||
/**
|
||||
* Limits the kinds of plugins a page may invoke.
|
||||
*
|
||||
* @var string|string[]|null
|
||||
*/
|
||||
public $pluginTypes;
|
||||
|
||||
/**
|
||||
* List of actions allowed.
|
||||
*
|
||||
* @var string|string[]|null
|
||||
*/
|
||||
public $sandbox;
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
use DateTimeInterface;
|
||||
|
||||
class Cookie extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Prefix
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Set a cookie name prefix if you need to avoid collisions.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $prefix = '';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Expires Timestamp
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Default expires timestamp for cookies. Setting this to `0` will mean the
|
||||
* cookie will not have the `Expires` attribute and will behave as a session
|
||||
* cookie.
|
||||
*
|
||||
* @var DateTimeInterface|int|string
|
||||
*/
|
||||
public $expires = 0;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Path
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Typically will be a forward slash.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $path = '/';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Domain
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Set to `.your-domain.com` for site-wide cookies.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $domain = '';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Secure
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Cookie will only be set if a secure HTTPS connection exists.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $secure = false;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie HTTPOnly
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Cookie will only be accessible via HTTP(S) (no JavaScript).
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $httponly = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie SameSite
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Configure cookie SameSite setting. Allowed values are:
|
||||
* - None
|
||||
* - Lax
|
||||
* - Strict
|
||||
* - ''
|
||||
*
|
||||
* Alternatively, you can use the constant names:
|
||||
* - `Cookie::SAMESITE_NONE`
|
||||
* - `Cookie::SAMESITE_LAX`
|
||||
* - `Cookie::SAMESITE_STRICT`
|
||||
*
|
||||
* Defaults to `Lax` for compatibility with modern browsers. Setting `''`
|
||||
* (empty string) means default SameSite attribute set by browsers (`Lax`)
|
||||
* will be set on cookies. If set to `None`, `$secure` must also be set.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $samesite = 'Lax';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Cookie Raw
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* This flag allows setting a "raw" cookie, i.e., its name and value are
|
||||
* not URL encoded using `rawurlencode()`.
|
||||
*
|
||||
* If this is set to `true`, cookie names should be compliant of RFC 2616's
|
||||
* list of allowed characters.
|
||||
*
|
||||
* @var bool
|
||||
*
|
||||
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes
|
||||
* @see https://tools.ietf.org/html/rfc2616#section-2.2
|
||||
*/
|
||||
public $raw = false;
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Database\Config;
|
||||
|
||||
/**
|
||||
* Database Configuration
|
||||
*/
|
||||
class Database extends Config
|
||||
{
|
||||
/**
|
||||
* The directory that holds the Migrations
|
||||
* and Seeds directories.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $filesPath = APPPATH . 'Database' . DIRECTORY_SEPARATOR;
|
||||
|
||||
/**
|
||||
* Lets you choose which connection group to
|
||||
* use if no other is specified.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $defaultGroup = 'default';
|
||||
|
||||
/**
|
||||
* The default database connection.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $default = [
|
||||
'DSN' => '',
|
||||
'hostname' => '10.10.33.60',
|
||||
'username' => 'postgres',
|
||||
'password' => 'may12002',
|
||||
'database' => 'chiefsoft_blog',
|
||||
'DBDriver' => 'MySQLi',
|
||||
'DBPrefix' => '',
|
||||
'pConnect' => false,
|
||||
'DBDebug' => (ENVIRONMENT !== 'production'),
|
||||
'charset' => 'utf8',
|
||||
'DBCollat' => 'utf8_general_ci',
|
||||
'swapPre' => '',
|
||||
'encrypt' => false,
|
||||
'compress' => false,
|
||||
'strictOn' => false,
|
||||
'failover' => [],
|
||||
'port' => 3306,
|
||||
];
|
||||
|
||||
/**
|
||||
* This database connection is used when
|
||||
* running PHPUnit database tests.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $tests = [
|
||||
'DSN' => '',
|
||||
'hostname' => '127.0.0.1',
|
||||
'username' => '',
|
||||
'password' => '',
|
||||
'database' => ':memory:',
|
||||
'DBDriver' => 'SQLite3',
|
||||
'DBPrefix' => 'db_', // Needed to ensure we're working correctly with prefixes live. DO NOT REMOVE FOR CI DEVS
|
||||
'pConnect' => false,
|
||||
'DBDebug' => (ENVIRONMENT !== 'production'),
|
||||
'charset' => 'utf8',
|
||||
'DBCollat' => 'utf8_general_ci',
|
||||
'swapPre' => '',
|
||||
'encrypt' => false,
|
||||
'compress' => false,
|
||||
'strictOn' => false,
|
||||
'failover' => [],
|
||||
'port' => 3306,
|
||||
];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Ensure that we always set the database group to 'tests' if
|
||||
// we are currently running an automated test suite, so that
|
||||
// we don't overwrite live data on accident.
|
||||
if (ENVIRONMENT === 'testing') {
|
||||
$this->defaultGroup = 'tests';
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
class DocTypes
|
||||
{
|
||||
/**
|
||||
* List of valid document types.
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $list = [
|
||||
'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,170 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class Email extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fromEmail;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fromName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $recipients;
|
||||
|
||||
/**
|
||||
* The "user agent"
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $userAgent = 'CodeIgniter';
|
||||
|
||||
/**
|
||||
* The mail sending protocol: mail, sendmail, smtp
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $protocol = 'mail';
|
||||
|
||||
/**
|
||||
* The server path to Sendmail.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $mailPath = '/usr/sbin/sendmail';
|
||||
|
||||
/**
|
||||
* SMTP Server Address
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $SMTPHost;
|
||||
|
||||
/**
|
||||
* SMTP Username
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $SMTPUser;
|
||||
|
||||
/**
|
||||
* SMTP Password
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $SMTPPass;
|
||||
|
||||
/**
|
||||
* SMTP Port
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $SMTPPort = 25;
|
||||
|
||||
/**
|
||||
* SMTP Timeout (in seconds)
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $SMTPTimeout = 5;
|
||||
|
||||
/**
|
||||
* Enable persistent SMTP connections
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $SMTPKeepAlive = false;
|
||||
|
||||
/**
|
||||
* SMTP Encryption. Either tls or ssl
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $SMTPCrypto = 'tls';
|
||||
|
||||
/**
|
||||
* Enable word-wrap
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $wordWrap = true;
|
||||
|
||||
/**
|
||||
* Character count to wrap at
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $wrapChars = 76;
|
||||
|
||||
/**
|
||||
* Type of mail, either 'text' or 'html'
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $mailType = 'text';
|
||||
|
||||
/**
|
||||
* Character set (utf-8, iso-8859-1, etc.)
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $charset = 'UTF-8';
|
||||
|
||||
/**
|
||||
* Whether to validate the email address
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $validate = false;
|
||||
|
||||
/**
|
||||
* Email Priority. 1 = highest. 5 = lowest. 3 = normal
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $priority = 3;
|
||||
|
||||
/**
|
||||
* Newline character. (Use “\r\n” to comply with RFC 822)
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $CRLF = "\r\n";
|
||||
|
||||
/**
|
||||
* Newline character. (Use “\r\n” to comply with RFC 822)
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $newline = "\r\n";
|
||||
|
||||
/**
|
||||
* Enable BCC Batch Mode.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $BCCBatchMode = false;
|
||||
|
||||
/**
|
||||
* Number of emails in each BCC batch
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $BCCBatchSize = 200;
|
||||
|
||||
/**
|
||||
* Enable notify message from server
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $DSN = false;
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
/**
|
||||
* Encryption configuration.
|
||||
*
|
||||
* These are the settings used for encryption, if you don't pass a parameter
|
||||
* array to the encrypter for creation/initialization.
|
||||
*/
|
||||
class Encryption extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Encryption Key Starter
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* If you use the Encryption class you must set an encryption key (seed).
|
||||
* You need to ensure it is long enough for the cipher and mode you plan to use.
|
||||
* See the user guide for more info.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $key = '';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Encryption Driver to Use
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* One of the supported encryption drivers.
|
||||
*
|
||||
* Available drivers:
|
||||
* - OpenSSL
|
||||
* - Sodium
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $driver = 'OpenSSL';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* SodiumHandler's Padding Length in Bytes
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* This is the number of bytes that will be padded to the plaintext message
|
||||
* before it is encrypted. This value should be greater than zero.
|
||||
*
|
||||
* See the user guide for more information on padding.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $blockSize = 16;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Encryption digest
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* HMAC digest to use, e.g. 'SHA512' or 'SHA256'. Default value is 'SHA512'.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $digest = 'SHA512';
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Events\Events;
|
||||
use CodeIgniter\Exceptions\FrameworkException;
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------------
|
||||
* Application Events
|
||||
* --------------------------------------------------------------------
|
||||
* Events allow you to tap into the execution of the program without
|
||||
* modifying or extending core files. This file provides a central
|
||||
* location to define your events, though they can always be added
|
||||
* at run-time, also, if needed.
|
||||
*
|
||||
* You create code that can execute by subscribing to events with
|
||||
* the 'on()' method. This accepts any form of callable, including
|
||||
* Closures, that will be executed when the event is triggered.
|
||||
*
|
||||
* Example:
|
||||
* Events::on('create', [$myInstance, 'myMethod']);
|
||||
*/
|
||||
|
||||
Events::on('pre_system', static function () {
|
||||
if (ENVIRONMENT !== 'testing') {
|
||||
if (ini_get('zlib.output_compression')) {
|
||||
throw FrameworkException::forEnabledZlibOutputCompression();
|
||||
}
|
||||
|
||||
while (ob_get_level() > 0) {
|
||||
ob_end_flush();
|
||||
}
|
||||
|
||||
ob_start(static function ($buffer) {
|
||||
return $buffer;
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------------
|
||||
* Debug Toolbar Listeners.
|
||||
* --------------------------------------------------------------------
|
||||
* If you delete, they will no longer be collected.
|
||||
*/
|
||||
if (CI_DEBUG && ! is_cli()) {
|
||||
Events::on('DBQuery', 'CodeIgniter\Debug\Toolbar\Collectors\Database::collect');
|
||||
Services::toolbar()->respond();
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
/**
|
||||
* Setup how the exception handler works.
|
||||
*/
|
||||
class Exceptions extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* LOG EXCEPTIONS?
|
||||
* --------------------------------------------------------------------------
|
||||
* If true, then exceptions will be logged
|
||||
* through Services::Log.
|
||||
*
|
||||
* Default: true
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $log = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* DO NOT LOG STATUS CODES
|
||||
* --------------------------------------------------------------------------
|
||||
* Any status codes here will NOT be logged if logging is turned on.
|
||||
* By default, only 404 (Page Not Found) exceptions are ignored.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $ignoreCodes = [404];
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Error Views Path
|
||||
* --------------------------------------------------------------------------
|
||||
* This is the path to the directory that contains the 'cli' and 'html'
|
||||
* directories that hold the views used to generate errors.
|
||||
*
|
||||
* Default: APPPATH.'Views/errors'
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $errorViewPath = APPPATH . 'Views/errors';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* HIDE FROM DEBUG TRACE
|
||||
* --------------------------------------------------------------------------
|
||||
* Any data that you would like to hide from the debug trace.
|
||||
* In order to specify 2 levels, use "/" to separate.
|
||||
* ex. ['server', 'setup/password', 'secret_token']
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $sensitiveDataInTrace = [];
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
/**
|
||||
* Enable/disable backward compatibility breaking features.
|
||||
*/
|
||||
class Feature extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* Enable multiple filters for a route or not
|
||||
*
|
||||
* If you enable this:
|
||||
* - CodeIgniter\CodeIgniter::handleRequest() uses:
|
||||
* - CodeIgniter\Filters\Filters::enableFilters(), instead of enableFilter()
|
||||
* - CodeIgniter\CodeIgniter::tryToRouteIt() uses:
|
||||
* - CodeIgniter\Router\Router::getFilters(), instead of getFilter()
|
||||
* - CodeIgniter\Router\Router::handle() uses:
|
||||
* - property $filtersInfo, instead of $filterInfo
|
||||
* - CodeIgniter\Router\RouteCollection::getFiltersForRoute(), instead of getFilterForRoute()
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $multipleFilters = false;
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
use CodeIgniter\Filters\CSRF;
|
||||
use CodeIgniter\Filters\DebugToolbar;
|
||||
use CodeIgniter\Filters\Honeypot;
|
||||
use CodeIgniter\Filters\InvalidChars;
|
||||
use CodeIgniter\Filters\SecureHeaders;
|
||||
|
||||
class Filters extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* Configures aliases for Filter classes to
|
||||
* make reading things nicer and simpler.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $aliases = [
|
||||
'csrf' => CSRF::class,
|
||||
'toolbar' => DebugToolbar::class,
|
||||
'honeypot' => Honeypot::class,
|
||||
'invalidchars' => InvalidChars::class,
|
||||
'secureheaders' => SecureHeaders::class,
|
||||
];
|
||||
|
||||
/**
|
||||
* List of filter aliases that are always
|
||||
* applied before and after every request.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $globals = [
|
||||
'before' => [
|
||||
// 'honeypot',
|
||||
// 'csrf',
|
||||
// 'invalidchars',
|
||||
],
|
||||
'after' => [
|
||||
'toolbar',
|
||||
// 'honeypot',
|
||||
// 'secureheaders',
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* List of filter aliases that works on a
|
||||
* particular HTTP method (GET, POST, etc.).
|
||||
*
|
||||
* Example:
|
||||
* 'post' => ['csrf', 'throttle']
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $methods = [];
|
||||
|
||||
/**
|
||||
* List of filter aliases that should run on any
|
||||
* before or after URI patterns.
|
||||
*
|
||||
* Example:
|
||||
* 'isLoggedIn' => ['before' => ['account/*', 'profiles/*']]
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $filters = [];
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\ForeignCharacters as BaseForeignCharacters;
|
||||
|
||||
class ForeignCharacters extends BaseForeignCharacters
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
use CodeIgniter\Format\FormatterInterface;
|
||||
|
||||
class Format extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Available Response Formats
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* When you perform content negotiation with the request, these are the
|
||||
* available formats that your application supports. This is currently
|
||||
* only used with the API\ResponseTrait. A valid Formatter must exist
|
||||
* for the specified format.
|
||||
*
|
||||
* These formats are only checked when the data passed to the respond()
|
||||
* method is an array.
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
public $supportedResponseFormats = [
|
||||
'application/json',
|
||||
'application/xml', // machine-readable XML
|
||||
'text/xml', // human-readable XML
|
||||
];
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Formatters
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Lists the class to use to format responses with of a particular type.
|
||||
* For each mime type, list the class that should be used. Formatters
|
||||
* can be retrieved through the getFormatter() method.
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $formatters = [
|
||||
'application/json' => 'CodeIgniter\Format\JSONFormatter',
|
||||
'application/xml' => 'CodeIgniter\Format\XMLFormatter',
|
||||
'text/xml' => 'CodeIgniter\Format\XMLFormatter',
|
||||
];
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Formatters Options
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Additional Options to adjust default formatters behaviour.
|
||||
* For each mime type, list the additional options that should be used.
|
||||
*
|
||||
* @var array<string, int>
|
||||
*/
|
||||
public $formatterOptions = [
|
||||
'application/json' => JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES,
|
||||
'application/xml' => 0,
|
||||
'text/xml' => 0,
|
||||
];
|
||||
|
||||
/**
|
||||
* A Factory method to return the appropriate formatter for the given mime type.
|
||||
*
|
||||
* @return FormatterInterface
|
||||
*
|
||||
* @deprecated This is an alias of `\CodeIgniter\Format\Format::getFormatter`. Use that instead.
|
||||
*/
|
||||
public function getFormatter(string $mime)
|
||||
{
|
||||
return Services::format()->getFormatter($mime);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class Generators extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Generator Commands' Views
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* This array defines the mapping of generator commands to the view files
|
||||
* they are using. If you need to customize them for your own, copy these
|
||||
* view files in your own folder and indicate the location here.
|
||||
*
|
||||
* You will notice that the views have special placeholders enclosed in
|
||||
* curly braces `{...}`. These placeholders are used internally by the
|
||||
* generator commands in processing replacements, thus you are warned
|
||||
* not to delete them or modify the names. If you will do so, you may
|
||||
* end up disrupting the scaffolding process and throw errors.
|
||||
*
|
||||
* YOU HAVE BEEN WARNED!
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $views = [
|
||||
'make:command' => 'CodeIgniter\Commands\Generators\Views\command.tpl.php',
|
||||
'make:config' => 'CodeIgniter\Commands\Generators\Views\config.tpl.php',
|
||||
'make:controller' => 'CodeIgniter\Commands\Generators\Views\controller.tpl.php',
|
||||
'make:entity' => 'CodeIgniter\Commands\Generators\Views\entity.tpl.php',
|
||||
'make:filter' => 'CodeIgniter\Commands\Generators\Views\filter.tpl.php',
|
||||
'make:migration' => 'CodeIgniter\Commands\Generators\Views\migration.tpl.php',
|
||||
'make:model' => 'CodeIgniter\Commands\Generators\Views\model.tpl.php',
|
||||
'make:seeder' => 'CodeIgniter\Commands\Generators\Views\seeder.tpl.php',
|
||||
'make:validation' => 'CodeIgniter\Commands\Generators\Views\validation.tpl.php',
|
||||
'session:migration' => 'CodeIgniter\Commands\Generators\Views\migration.tpl.php',
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class Honeypot extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* Makes Honeypot visible or not to human
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $hidden = true;
|
||||
|
||||
/**
|
||||
* Honeypot Label Content
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $label = 'Fill This Field';
|
||||
|
||||
/**
|
||||
* Honeypot Field Name
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $name = 'honeypot';
|
||||
|
||||
/**
|
||||
* Honeypot HTML Template
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $template = '<label>{label}</label><input type="text" name="{name}" value=""/>';
|
||||
|
||||
/**
|
||||
* Honeypot container
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $container = '<div style="display:none">{template}</div>';
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
use CodeIgniter\Images\Handlers\GDHandler;
|
||||
use CodeIgniter\Images\Handlers\ImageMagickHandler;
|
||||
|
||||
class Images extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* Default handler used if no other handler is specified.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $defaultHandler = 'gd';
|
||||
|
||||
/**
|
||||
* The path to the image library.
|
||||
* Required for ImageMagick, GraphicsMagick, or NetPBM.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $libraryPath = '/usr/local/bin/convert';
|
||||
|
||||
/**
|
||||
* The available handler classes.
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $handlers = [
|
||||
'gd' => GDHandler::class,
|
||||
'imagick' => ImageMagickHandler::class,
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
use Kint\Renderer\Renderer;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Kint
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* We use Kint's `RichRenderer` and `CLIRenderer`. This area contains options
|
||||
* that you can set to customize how Kint works for you.
|
||||
*
|
||||
* @see https://kint-php.github.io/kint/ for details on these settings.
|
||||
*/
|
||||
class Kint extends BaseConfig
|
||||
{
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Global Settings
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
public $plugins;
|
||||
public $maxDepth = 6;
|
||||
public $displayCalledFrom = true;
|
||||
public $expanded = false;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| RichRenderer Settings
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
public $richTheme = 'aante-light.css';
|
||||
public $richFolder = false;
|
||||
public $richSort = Renderer::SORT_FULL;
|
||||
public $richObjectPlugins;
|
||||
public $richTabPlugins;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| CLI Settings
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
public $cliColors = true;
|
||||
public $cliForceUTF8 = false;
|
||||
public $cliDetectWidth = true;
|
||||
public $cliMinWidth = 40;
|
||||
}
|
||||
@@ -0,0 +1,153 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class Logger extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Error Logging Threshold
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* You can enable error logging by setting a threshold over zero. The
|
||||
* threshold determines what gets logged. Any values below or equal to the
|
||||
* threshold will be logged.
|
||||
*
|
||||
* Threshold options are:
|
||||
*
|
||||
* - 0 = Disables logging, Error logging TURNED OFF
|
||||
* - 1 = Emergency Messages - System is unusable
|
||||
* - 2 = Alert Messages - Action Must Be Taken Immediately
|
||||
* - 3 = Critical Messages - Application component unavailable, unexpected exception.
|
||||
* - 4 = Runtime Errors - Don't need immediate action, but should be monitored.
|
||||
* - 5 = Warnings - Exceptional occurrences that are not errors.
|
||||
* - 6 = Notices - Normal but significant events.
|
||||
* - 7 = Info - Interesting events, like user logging in, etc.
|
||||
* - 8 = Debug - Detailed debug information.
|
||||
* - 9 = All Messages
|
||||
*
|
||||
* You can also pass an array with threshold levels to show individual error types
|
||||
*
|
||||
* array(1, 2, 3, 8) = Emergency, Alert, Critical, and Debug messages
|
||||
*
|
||||
* For a live site you'll usually enable Critical or higher (3) to be logged otherwise
|
||||
* your log files will fill up very fast.
|
||||
*
|
||||
* @var array|int
|
||||
*/
|
||||
public $threshold = 4;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* 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
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $dateFormat = 'Y-m-d H:i:s';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Log Handlers
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The logging system supports multiple actions to be taken when something
|
||||
* is logged. This is done by allowing for multiple Handlers, special classes
|
||||
* designed to write the log to their chosen destinations, whether that is
|
||||
* a file on the getServer, a cloud-based service, or even taking actions such
|
||||
* as emailing the dev team.
|
||||
*
|
||||
* Each handler is defined by the class name used for that handler, and it
|
||||
* MUST implement the `CodeIgniter\Log\Handlers\HandlerInterface` interface.
|
||||
*
|
||||
* The value of each key is an array of configuration items that are sent
|
||||
* to the constructor of each handler. The only required configuration item
|
||||
* is the 'handles' element, which must be an array of integer log levels.
|
||||
* This is most easily handled by using the constants defined in the
|
||||
* `Psr\Log\LogLevel` class.
|
||||
*
|
||||
* Handlers are executed in the order defined in this array, starting with
|
||||
* the handler on top and continuing down.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $handlers = [
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------------
|
||||
* File Handler
|
||||
* --------------------------------------------------------------------
|
||||
*/
|
||||
'CodeIgniter\Log\Handlers\FileHandler' => [
|
||||
|
||||
// The log levels that this handler will handle.
|
||||
'handles' => [
|
||||
'critical',
|
||||
'alert',
|
||||
'emergency',
|
||||
'debug',
|
||||
'error',
|
||||
'info',
|
||||
'notice',
|
||||
'warning',
|
||||
],
|
||||
|
||||
/*
|
||||
* The default filename extension for log files.
|
||||
* An extension of '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 'log'.
|
||||
*/
|
||||
'fileExtension' => '',
|
||||
|
||||
/*
|
||||
* 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.)
|
||||
*/
|
||||
'filePermissions' => 0644,
|
||||
|
||||
/*
|
||||
* Logging Directory Path
|
||||
*
|
||||
* By default, logs are written to WRITEPATH . 'logs/'
|
||||
* Specify a different destination here, if desired.
|
||||
*/
|
||||
'path' => '',
|
||||
],
|
||||
|
||||
/*
|
||||
* The ChromeLoggerHandler requires the use of the Chrome web browser
|
||||
* and the ChromeLogger extension. Uncomment this block to use it.
|
||||
*/
|
||||
// 'CodeIgniter\Log\Handlers\ChromeLoggerHandler' => [
|
||||
// /*
|
||||
// * The log levels that this handler will handle.
|
||||
// */
|
||||
// 'handles' => ['critical', 'alert', 'emergency', 'debug',
|
||||
// 'error', 'info', 'notice', 'warning'],
|
||||
// ],
|
||||
|
||||
/*
|
||||
* The ErrorlogHandler writes the logs to PHP's native `error_log()` function.
|
||||
* Uncomment this block to use it.
|
||||
*/
|
||||
// 'CodeIgniter\Log\Handlers\ErrorlogHandler' => [
|
||||
// /* The log levels this handler can handle. */
|
||||
// 'handles' => ['critical', 'alert', 'emergency', 'debug', 'error', 'info', 'notice', 'warning'],
|
||||
//
|
||||
// /*
|
||||
// * The message type where the error should go. Can be 0 or 4, or use the
|
||||
// * class constants: `ErrorlogHandler::TYPE_OS` (0) or `ErrorlogHandler::TYPE_SAPI` (4)
|
||||
// */
|
||||
// 'messageType' => 0,
|
||||
// ],
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class Migrations extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Enable/Disable Migrations
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Migrations are enabled by default.
|
||||
*
|
||||
* You should enable migrations whenever you intend to do a schema migration
|
||||
* and disable it back when you're done.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $enabled = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* 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.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $table = 'migrations';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Timestamp Format
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* This is the format that will be used when creating new migrations
|
||||
* using the CLI command:
|
||||
* > php spark migrate:create
|
||||
*
|
||||
* Typical formats:
|
||||
* - YmdHis_
|
||||
* - Y-m-d-His_
|
||||
* - Y_m_d_His_
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $timestampFormat = 'Y-m-d-His_';
|
||||
}
|
||||
@@ -0,0 +1,534 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
/**
|
||||
* Mimes
|
||||
*
|
||||
* This file contains an array of mime types. It is used by the
|
||||
* Upload class to help identify allowed file types.
|
||||
*
|
||||
* When more than one variation for an extension exist (like jpg, jpeg, etc)
|
||||
* the most common one should be first in the array to aid the guess*
|
||||
* methods. The same applies when more than one mime-type exists for a
|
||||
* single extension.
|
||||
*
|
||||
* When working with mime types, please make sure you have the ´fileinfo´
|
||||
* extension enabled to reliably detect the media types.
|
||||
*/
|
||||
class Mimes
|
||||
{
|
||||
/**
|
||||
* Map of extensions to mime types.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $mimes = [
|
||||
'hqx' => [
|
||||
'application/mac-binhex40',
|
||||
'application/mac-binhex',
|
||||
'application/x-binhex40',
|
||||
'application/x-mac-binhex40',
|
||||
],
|
||||
'cpt' => 'application/mac-compactpro',
|
||||
'csv' => [
|
||||
'text/csv',
|
||||
'text/x-comma-separated-values',
|
||||
'text/comma-separated-values',
|
||||
'application/vnd.ms-excel',
|
||||
'application/x-csv',
|
||||
'text/x-csv',
|
||||
'application/csv',
|
||||
'application/excel',
|
||||
'application/vnd.msexcel',
|
||||
'text/plain',
|
||||
],
|
||||
'bin' => [
|
||||
'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' => [
|
||||
'application/octet-stream',
|
||||
'application/x-msdownload',
|
||||
],
|
||||
'class' => 'application/octet-stream',
|
||||
'psd' => [
|
||||
'application/x-photoshop',
|
||||
'image/vnd.adobe.photoshop',
|
||||
],
|
||||
'so' => 'application/octet-stream',
|
||||
'sea' => 'application/octet-stream',
|
||||
'dll' => 'application/octet-stream',
|
||||
'oda' => 'application/oda',
|
||||
'pdf' => [
|
||||
'application/pdf',
|
||||
'application/force-download',
|
||||
'application/x-download',
|
||||
],
|
||||
'ai' => [
|
||||
'application/pdf',
|
||||
'application/postscript',
|
||||
],
|
||||
'eps' => 'application/postscript',
|
||||
'ps' => 'application/postscript',
|
||||
'smi' => 'application/smil',
|
||||
'smil' => 'application/smil',
|
||||
'mif' => 'application/vnd.mif',
|
||||
'xls' => [
|
||||
'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' => [
|
||||
'application/vnd.ms-powerpoint',
|
||||
'application/powerpoint',
|
||||
'application/vnd.ms-office',
|
||||
'application/msword',
|
||||
],
|
||||
'pptx' => [
|
||||
'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' => [
|
||||
'application/x-php',
|
||||
'application/x-httpd-php',
|
||||
'application/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' => [
|
||||
'application/x-javascript',
|
||||
'text/plain',
|
||||
],
|
||||
'swf' => 'application/x-shockwave-flash',
|
||||
'sit' => 'application/x-stuffit',
|
||||
'tar' => 'application/x-tar',
|
||||
'tgz' => [
|
||||
'application/x-tar',
|
||||
'application/x-gzip-compressed',
|
||||
],
|
||||
'z' => 'application/x-compress',
|
||||
'xhtml' => 'application/xhtml+xml',
|
||||
'xht' => 'application/xhtml+xml',
|
||||
'zip' => [
|
||||
'application/x-zip',
|
||||
'application/zip',
|
||||
'application/x-zip-compressed',
|
||||
'application/s-compressed',
|
||||
'multipart/x-zip',
|
||||
],
|
||||
'rar' => [
|
||||
'application/vnd.rar',
|
||||
'application/x-rar',
|
||||
'application/rar',
|
||||
'application/x-rar-compressed',
|
||||
],
|
||||
'mid' => 'audio/midi',
|
||||
'midi' => 'audio/midi',
|
||||
'mpga' => 'audio/mpeg',
|
||||
'mp2' => 'audio/mpeg',
|
||||
'mp3' => [
|
||||
'audio/mpeg',
|
||||
'audio/mpg',
|
||||
'audio/mpeg3',
|
||||
'audio/mp3',
|
||||
],
|
||||
'aif' => [
|
||||
'audio/x-aiff',
|
||||
'audio/aiff',
|
||||
],
|
||||
'aiff' => [
|
||||
'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' => [
|
||||
'audio/x-wav',
|
||||
'audio/wave',
|
||||
'audio/wav',
|
||||
],
|
||||
'bmp' => [
|
||||
'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',
|
||||
'jpg' => [
|
||||
'image/jpeg',
|
||||
'image/pjpeg',
|
||||
],
|
||||
'jpeg' => [
|
||||
'image/jpeg',
|
||||
'image/pjpeg',
|
||||
],
|
||||
'jpe' => [
|
||||
'image/jpeg',
|
||||
'image/pjpeg',
|
||||
],
|
||||
'jp2' => [
|
||||
'image/jp2',
|
||||
'video/mj2',
|
||||
'image/jpx',
|
||||
'image/jpm',
|
||||
],
|
||||
'j2k' => [
|
||||
'image/jp2',
|
||||
'video/mj2',
|
||||
'image/jpx',
|
||||
'image/jpm',
|
||||
],
|
||||
'jpf' => [
|
||||
'image/jp2',
|
||||
'video/mj2',
|
||||
'image/jpx',
|
||||
'image/jpm',
|
||||
],
|
||||
'jpg2' => [
|
||||
'image/jp2',
|
||||
'video/mj2',
|
||||
'image/jpx',
|
||||
'image/jpm',
|
||||
],
|
||||
'jpx' => [
|
||||
'image/jp2',
|
||||
'video/mj2',
|
||||
'image/jpx',
|
||||
'image/jpm',
|
||||
],
|
||||
'jpm' => [
|
||||
'image/jp2',
|
||||
'video/mj2',
|
||||
'image/jpx',
|
||||
'image/jpm',
|
||||
],
|
||||
'mj2' => [
|
||||
'image/jp2',
|
||||
'video/mj2',
|
||||
'image/jpx',
|
||||
'image/jpm',
|
||||
],
|
||||
'mjp2' => [
|
||||
'image/jp2',
|
||||
'video/mj2',
|
||||
'image/jpx',
|
||||
'image/jpm',
|
||||
],
|
||||
'png' => [
|
||||
'image/png',
|
||||
'image/x-png',
|
||||
],
|
||||
'tif' => 'image/tiff',
|
||||
'tiff' => 'image/tiff',
|
||||
'css' => [
|
||||
'text/css',
|
||||
'text/plain',
|
||||
],
|
||||
'html' => [
|
||||
'text/html',
|
||||
'text/plain',
|
||||
],
|
||||
'htm' => [
|
||||
'text/html',
|
||||
'text/plain',
|
||||
],
|
||||
'shtml' => [
|
||||
'text/html',
|
||||
'text/plain',
|
||||
],
|
||||
'txt' => 'text/plain',
|
||||
'text' => 'text/plain',
|
||||
'log' => [
|
||||
'text/plain',
|
||||
'text/x-log',
|
||||
],
|
||||
'rtx' => 'text/richtext',
|
||||
'rtf' => 'text/rtf',
|
||||
'xml' => [
|
||||
'application/xml',
|
||||
'text/xml',
|
||||
'text/plain',
|
||||
],
|
||||
'xsl' => [
|
||||
'application/xml',
|
||||
'text/xsl',
|
||||
'text/xml',
|
||||
],
|
||||
'mpeg' => 'video/mpeg',
|
||||
'mpg' => 'video/mpeg',
|
||||
'mpe' => 'video/mpeg',
|
||||
'qt' => 'video/quicktime',
|
||||
'mov' => 'video/quicktime',
|
||||
'avi' => [
|
||||
'video/x-msvideo',
|
||||
'video/msvideo',
|
||||
'video/avi',
|
||||
'application/x-troff-msvideo',
|
||||
],
|
||||
'movie' => 'video/x-sgi-movie',
|
||||
'doc' => [
|
||||
'application/msword',
|
||||
'application/vnd.ms-office',
|
||||
],
|
||||
'docx' => [
|
||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
'application/zip',
|
||||
'application/msword',
|
||||
'application/x-zip',
|
||||
],
|
||||
'dot' => [
|
||||
'application/msword',
|
||||
'application/vnd.ms-office',
|
||||
],
|
||||
'dotx' => [
|
||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
'application/zip',
|
||||
'application/msword',
|
||||
],
|
||||
'xlsx' => [
|
||||
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||
'application/zip',
|
||||
'application/vnd.ms-excel',
|
||||
'application/msword',
|
||||
'application/x-zip',
|
||||
],
|
||||
'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
|
||||
'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
|
||||
'word' => [
|
||||
'application/msword',
|
||||
'application/octet-stream',
|
||||
],
|
||||
'xl' => 'application/excel',
|
||||
'eml' => 'message/rfc822',
|
||||
'json' => [
|
||||
'application/json',
|
||||
'text/json',
|
||||
],
|
||||
'pem' => [
|
||||
'application/x-x509-user-cert',
|
||||
'application/x-pem-file',
|
||||
'application/octet-stream',
|
||||
],
|
||||
'p10' => [
|
||||
'application/x-pkcs10',
|
||||
'application/pkcs10',
|
||||
],
|
||||
'p12' => 'application/x-pkcs12',
|
||||
'p7a' => 'application/x-pkcs7-signature',
|
||||
'p7c' => [
|
||||
'application/pkcs7-mime',
|
||||
'application/x-pkcs7-mime',
|
||||
],
|
||||
'p7m' => [
|
||||
'application/pkcs7-mime',
|
||||
'application/x-pkcs7-mime',
|
||||
],
|
||||
'p7r' => 'application/x-pkcs7-certreqresp',
|
||||
'p7s' => 'application/pkcs7-signature',
|
||||
'crt' => [
|
||||
'application/x-x509-ca-cert',
|
||||
'application/x-x509-user-cert',
|
||||
'application/pkix-cert',
|
||||
],
|
||||
'crl' => [
|
||||
'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' => [
|
||||
'application/pkix-cert',
|
||||
'application/x-x509-ca-cert',
|
||||
],
|
||||
'3g2' => 'video/3gpp2',
|
||||
'3gp' => [
|
||||
'video/3gp',
|
||||
'video/3gpp',
|
||||
],
|
||||
'mp4' => 'video/mp4',
|
||||
'm4a' => 'audio/x-m4a',
|
||||
'f4v' => [
|
||||
'video/mp4',
|
||||
'video/x-f4v',
|
||||
],
|
||||
'flv' => 'video/x-flv',
|
||||
'webm' => 'video/webm',
|
||||
'aac' => 'audio/x-acc',
|
||||
'm4u' => 'application/vnd.mpegurl',
|
||||
'm3u' => 'text/plain',
|
||||
'xspf' => 'application/xspf+xml',
|
||||
'vlc' => 'application/videolan',
|
||||
'wmv' => [
|
||||
'video/x-ms-wmv',
|
||||
'video/x-ms-asf',
|
||||
],
|
||||
'au' => 'audio/x-au',
|
||||
'ac3' => 'audio/ac3',
|
||||
'flac' => 'audio/x-flac',
|
||||
'ogg' => [
|
||||
'audio/ogg',
|
||||
'video/ogg',
|
||||
'application/ogg',
|
||||
],
|
||||
'kmz' => [
|
||||
'application/vnd.google-earth.kmz',
|
||||
'application/zip',
|
||||
'application/x-zip',
|
||||
],
|
||||
'kml' => [
|
||||
'application/vnd.google-earth.kml+xml',
|
||||
'application/xml',
|
||||
'text/xml',
|
||||
],
|
||||
'ics' => 'text/calendar',
|
||||
'ical' => 'text/calendar',
|
||||
'zsh' => 'text/x-scriptzsh',
|
||||
'7zip' => [
|
||||
'application/x-compressed',
|
||||
'application/x-zip-compressed',
|
||||
'application/zip',
|
||||
'multipart/x-zip',
|
||||
],
|
||||
'cdr' => [
|
||||
'application/cdr',
|
||||
'application/coreldraw',
|
||||
'application/x-cdr',
|
||||
'application/x-coreldraw',
|
||||
'image/cdr',
|
||||
'image/x-cdr',
|
||||
'zz-application/zz-winassoc-cdr',
|
||||
],
|
||||
'wma' => [
|
||||
'audio/x-ms-wma',
|
||||
'video/x-ms-asf',
|
||||
],
|
||||
'jar' => [
|
||||
'application/java-archive',
|
||||
'application/x-java-application',
|
||||
'application/x-jar',
|
||||
'application/x-compressed',
|
||||
],
|
||||
'svg' => [
|
||||
'image/svg+xml',
|
||||
'image/svg',
|
||||
'application/xml',
|
||||
'text/xml',
|
||||
],
|
||||
'vcf' => 'text/x-vcard',
|
||||
'srt' => [
|
||||
'text/srt',
|
||||
'text/plain',
|
||||
],
|
||||
'vtt' => [
|
||||
'text/vtt',
|
||||
'text/plain',
|
||||
],
|
||||
'ico' => [
|
||||
'image/x-icon',
|
||||
'image/x-ico',
|
||||
'image/vnd.microsoft.icon',
|
||||
],
|
||||
'stl' => [
|
||||
'application/sla',
|
||||
'application/vnd.ms-pki.stl',
|
||||
'application/x-navistyle',
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* Attempts to determine the best mime type for the given file extension.
|
||||
*
|
||||
* @return string|null The mime type found, or none if unable to determine.
|
||||
*/
|
||||
public static function guessTypeFromExtension(string $extension)
|
||||
{
|
||||
$extension = trim(strtolower($extension), '. ');
|
||||
|
||||
if (! array_key_exists($extension, static::$mimes)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return is_array(static::$mimes[$extension]) ? static::$mimes[$extension][0] : static::$mimes[$extension];
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to determine the best file extension for a given mime type.
|
||||
*
|
||||
* @param string|null $proposedExtension - default extension (in case there is more than one with the same mime type)
|
||||
*
|
||||
* @return string|null The extension determined, or null if unable to match.
|
||||
*/
|
||||
public static function guessExtensionFromType(string $type, ?string $proposedExtension = null)
|
||||
{
|
||||
$type = trim(strtolower($type), '. ');
|
||||
|
||||
$proposedExtension = trim(strtolower($proposedExtension ?? ''));
|
||||
|
||||
if ($proposedExtension !== '') {
|
||||
if (array_key_exists($proposedExtension, static::$mimes) && in_array($type, is_string(static::$mimes[$proposedExtension]) ? [static::$mimes[$proposedExtension]] : static::$mimes[$proposedExtension], true)) {
|
||||
// The detected mime type matches with the proposed extension.
|
||||
return $proposedExtension;
|
||||
}
|
||||
|
||||
// An extension was proposed, but the media type does not match the mime type list.
|
||||
return null;
|
||||
}
|
||||
|
||||
// Reverse check the mime type list if no extension was proposed.
|
||||
// This search is order sensitive!
|
||||
foreach (static::$mimes as $ext => $types) {
|
||||
if ((is_string($types) && $types === $type) || (is_array($types) && in_array($type, $types, true))) {
|
||||
return $ext;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Modules\Modules as BaseModules;
|
||||
|
||||
class Modules extends BaseModules
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Enable Auto-Discovery?
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* If true, then auto-discovery will happen across all elements listed in
|
||||
* $aliases below. If false, no auto-discovery will happen at all,
|
||||
* giving a slight performance boost.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $enabled = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Enable Auto-Discovery Within Composer Packages?
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* If true, then auto-discovery will happen across all namespaces loaded
|
||||
* by Composer, as well as the namespaces configured locally.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $discoverInComposer = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Auto-Discovery Rules
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Aliases list of all discovery classes that will be active and used during
|
||||
* the current application request.
|
||||
*
|
||||
* If it is not listed, only the base application elements will be used.
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
public $aliases = [
|
||||
'events',
|
||||
'filters',
|
||||
'registrars',
|
||||
'routes',
|
||||
'services',
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class Pager extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Templates
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Pagination links are rendered out using views to configure their
|
||||
* appearance. This array contains aliases and the view names to
|
||||
* use when rendering the links.
|
||||
*
|
||||
* Within each view, the Pager object will be available as $pager,
|
||||
* and the desired group as $pagerGroup;
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $templates = [
|
||||
'default_full' => 'CodeIgniter\Pager\Views\default_full',
|
||||
'default_simple' => 'CodeIgniter\Pager\Views\default_simple',
|
||||
'default_head' => 'CodeIgniter\Pager\Views\default_head',
|
||||
];
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Items Per Page
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The default number of results shown in a single page.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $perPage = 20;
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
/**
|
||||
* Paths
|
||||
*
|
||||
* Holds the paths that are used by the system to
|
||||
* locate the main directories, app, system, etc.
|
||||
*
|
||||
* Modifying these allows you to restructure your application,
|
||||
* share a system folder between multiple applications, and more.
|
||||
*
|
||||
* All paths are relative to the project's root folder.
|
||||
*/
|
||||
class Paths
|
||||
{
|
||||
/**
|
||||
* ---------------------------------------------------------------
|
||||
* SYSTEM FOLDER NAME
|
||||
* ---------------------------------------------------------------
|
||||
*
|
||||
* This must contain the name of your "system" folder. Include
|
||||
* the path if the folder is not in the same directory as this file.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $systemDirectory = __DIR__ . '/../../system';
|
||||
|
||||
/**
|
||||
* ---------------------------------------------------------------
|
||||
* APPLICATION FOLDER NAME
|
||||
* ---------------------------------------------------------------
|
||||
*
|
||||
* If you want this front controller to use a different "app"
|
||||
* folder than the default one you can set its name here. The folder
|
||||
* can also be renamed or relocated anywhere on your getServer. If
|
||||
* you do, use a full getServer path.
|
||||
*
|
||||
* @see http://codeigniter.com/user_guide/general/managing_apps.html
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $appDirectory = __DIR__ . '/..';
|
||||
|
||||
/**
|
||||
* ---------------------------------------------------------------
|
||||
* WRITABLE DIRECTORY NAME
|
||||
* ---------------------------------------------------------------
|
||||
*
|
||||
* This variable must contain the name of your "writable" directory.
|
||||
* The writable directory allows you to group all directories that
|
||||
* need write permission to a single place that can be tucked away
|
||||
* for maximum security, keeping it out of the app and/or
|
||||
* system directories.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $writableDirectory = __DIR__ . '/../../writable';
|
||||
|
||||
/**
|
||||
* ---------------------------------------------------------------
|
||||
* TESTS DIRECTORY NAME
|
||||
* ---------------------------------------------------------------
|
||||
*
|
||||
* This variable must contain the name of your "tests" directory.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $testsDirectory = __DIR__ . '/../../tests';
|
||||
|
||||
/**
|
||||
* ---------------------------------------------------------------
|
||||
* VIEW DIRECTORY NAME
|
||||
* ---------------------------------------------------------------
|
||||
*
|
||||
* This variable must contain the name of the directory that
|
||||
* contains the view files used by your application. By
|
||||
* default this is in `app/Views`. This value
|
||||
* is used when no value is provided to `Services::renderer()`.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $viewDirectory = __DIR__ . '/../Views';
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\Publisher as BasePublisher;
|
||||
|
||||
/**
|
||||
* Publisher Configuration
|
||||
*
|
||||
* Defines basic security restrictions for the Publisher class
|
||||
* to prevent abuse by injecting malicious files into a project.
|
||||
*/
|
||||
class Publisher extends BasePublisher
|
||||
{
|
||||
/**
|
||||
* A list of allowed destinations with a (pseudo-)regex
|
||||
* of allowed files for each destination.
|
||||
* Attempts to publish to directories not in this list will
|
||||
* result in a PublisherException. Files that do no fit the
|
||||
* pattern will cause copy/merge to fail.
|
||||
*
|
||||
* @var array<string,string>
|
||||
*/
|
||||
public $restrictions = [
|
||||
ROOTPATH => '*',
|
||||
FCPATH => '#\.(?css|js|map|htm?|xml|json|webmanifest|tff|eot|woff?|gif|jpe?g|tiff?|png|webp|bmp|ico|svg)$#i',
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
// Create a new instance of our RouteCollection class.
|
||||
$routes = Services::routes();
|
||||
|
||||
// Load the system's routing file first, so that the app and ENVIRONMENT
|
||||
// can override as needed.
|
||||
if (file_exists(SYSTEMPATH . 'Config/Routes.php')) {
|
||||
require SYSTEMPATH . 'Config/Routes.php';
|
||||
}
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------------
|
||||
* Router Setup
|
||||
* --------------------------------------------------------------------
|
||||
*/
|
||||
$routes->setDefaultNamespace('App\Controllers');
|
||||
$routes->setDefaultController('Home');
|
||||
$routes->setDefaultMethod('index');
|
||||
$routes->setTranslateURIDashes(false);
|
||||
$routes->set404Override();
|
||||
$routes->setAutoRoute(true);
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------------
|
||||
* Route Definitions
|
||||
* --------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
// We get a performance increase by specifying the default
|
||||
// route since we don't have to scan directories.
|
||||
//$routes->get('/', 'Home::index');
|
||||
$routes->get('/', 'Home::home');
|
||||
$routes->get('/about', 'Home::about');
|
||||
$routes->get('/services', 'Home::services');
|
||||
$routes->get('/contact', 'Home::contact');
|
||||
$routes->get('/blog', 'Home::blog');
|
||||
/*
|
||||
* --------------------------------------------------------------------
|
||||
* Additional Routing
|
||||
* --------------------------------------------------------------------
|
||||
*
|
||||
* There will often be times that you need additional routing and you
|
||||
* need it to be able to override any defaults in this file. Environment
|
||||
* based routes is one such time. require() additional route files here
|
||||
* to make that happen.
|
||||
*
|
||||
* You will have access to the $routes object within that file without
|
||||
* needing to reload it.
|
||||
*/
|
||||
if (file_exists(APPPATH . 'Config/' . ENVIRONMENT . '/Routes.php')) {
|
||||
require APPPATH . 'Config/' . ENVIRONMENT . '/Routes.php';
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class Security extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Protection Method
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Protection Method for Cross Site Request Forgery protection.
|
||||
*
|
||||
* @var string 'cookie' or 'session'
|
||||
*/
|
||||
public $csrfProtection = 'cookie';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Token Randomization
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Randomize the CSRF Token for added security.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $tokenRandomize = false;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Token Name
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Token name for Cross Site Request Forgery protection.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $tokenName = 'csrf_test_name';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Header Name
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Header name for Cross Site Request Forgery protection.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $headerName = 'X-CSRF-TOKEN';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Cookie Name
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Cookie name for Cross Site Request Forgery protection.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $cookieName = 'csrf_cookie_name';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Expires
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Expiration time for Cross Site Request Forgery protection cookie.
|
||||
*
|
||||
* Defaults to two hours (in seconds).
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $expires = 7200;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Regenerate
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Regenerate CSRF Token on every submission.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $regenerate = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF Redirect
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Redirect to previous page with error on failure.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $redirect = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* CSRF SameSite
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* Setting for CSRF SameSite cookie token.
|
||||
*
|
||||
* Allowed values are: None - Lax - Strict - ''.
|
||||
*
|
||||
* Defaults to `Lax` as recommended in this link:
|
||||
*
|
||||
* @see https://portswigger.net/web-security/csrf/samesite-cookies
|
||||
*
|
||||
* @var string
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
public $samesite = 'Lax';
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseService;
|
||||
|
||||
/**
|
||||
* Services Configuration file.
|
||||
*
|
||||
* Services are simply other classes/libraries that the system uses
|
||||
* to do its job. This is used by CodeIgniter to allow the core of the
|
||||
* framework to be swapped out easily without affecting the usage within
|
||||
* the rest of your application.
|
||||
*
|
||||
* This file holds any application-specific services, or service overrides
|
||||
* that you might need. An example has been included with the general
|
||||
* method format you should use for your service methods. For more examples,
|
||||
* see the core Services file at system/Config/Services.php.
|
||||
*/
|
||||
class Services extends BaseService
|
||||
{
|
||||
/*
|
||||
* public static function example($getShared = true)
|
||||
* {
|
||||
* if ($getShared) {
|
||||
* return static::getSharedInstance('example');
|
||||
* }
|
||||
*
|
||||
* return new \CodeIgniter\Example();
|
||||
* }
|
||||
*/
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
use CodeIgniter\Debug\Toolbar\Collectors\Database;
|
||||
use CodeIgniter\Debug\Toolbar\Collectors\Events;
|
||||
use CodeIgniter\Debug\Toolbar\Collectors\Files;
|
||||
use CodeIgniter\Debug\Toolbar\Collectors\Logs;
|
||||
use CodeIgniter\Debug\Toolbar\Collectors\Routes;
|
||||
use CodeIgniter\Debug\Toolbar\Collectors\Timers;
|
||||
use CodeIgniter\Debug\Toolbar\Collectors\Views;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Debug Toolbar
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The Debug Toolbar provides a way to see information about the performance
|
||||
* and state of your application during that page display. By default it will
|
||||
* NOT be displayed under production environments, and will only display if
|
||||
* `CI_DEBUG` is true, since if it's not, there's not much to display anyway.
|
||||
*/
|
||||
class Toolbar extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Toolbar Collectors
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* List of toolbar collectors that will be called when Debug Toolbar
|
||||
* fires up and collects data from.
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
public $collectors = [
|
||||
Timers::class,
|
||||
Database::class,
|
||||
Logs::class,
|
||||
Views::class,
|
||||
// \CodeIgniter\Debug\Toolbar\Collectors\Cache::class,
|
||||
Files::class,
|
||||
Routes::class,
|
||||
Events::class,
|
||||
];
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Collect Var Data
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* If set to false var data from the views will not be colleted. Usefull to
|
||||
* avoid high memory usage when there are lots of data passed to the view.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $collectVarData = true;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Max History
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* `$maxHistory` sets a limit on the number of past requests that are stored,
|
||||
* helping to conserve file space used to store them. You can set it to
|
||||
* 0 (zero) to not have any history stored, or -1 for unlimited history.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $maxHistory = 20;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Toolbar Views Path
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The full path to the the views that are used by the toolbar.
|
||||
* This MUST have a trailing slash.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $viewsPath = SYSTEMPATH . 'Debug/Toolbar/Views/';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Max Queries
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* If the Database Collector is enabled, it will log every query that the
|
||||
* the system generates so they can be displayed on the toolbar's timeline
|
||||
* and in the query log. This can lead to memory issues in some instances
|
||||
* with hundreds of queries.
|
||||
*
|
||||
* `$maxQueries` defines the maximum amount of queries that will be stored.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $maxQueries = 100;
|
||||
}
|
||||
@@ -0,0 +1,252 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
/**
|
||||
* -------------------------------------------------------------------
|
||||
* User Agents
|
||||
* -------------------------------------------------------------------
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
class UserAgents extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* -------------------------------------------------------------------
|
||||
* OS Platforms
|
||||
* -------------------------------------------------------------------
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $platforms = [
|
||||
'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',
|
||||
];
|
||||
|
||||
/**
|
||||
* -------------------------------------------------------------------
|
||||
* Browsers
|
||||
* -------------------------------------------------------------------
|
||||
*
|
||||
* The order of this array should NOT be changed. Many browsers return
|
||||
* multiple browser types so we want to identify the subtype first.
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $browsers = [
|
||||
'OPR' => 'Opera',
|
||||
'Flock' => 'Flock',
|
||||
'Edge' => 'Spartan',
|
||||
'Edg' => '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',
|
||||
'Vivaldi' => 'Vivaldi',
|
||||
];
|
||||
|
||||
/**
|
||||
* -------------------------------------------------------------------
|
||||
* Mobiles
|
||||
* -------------------------------------------------------------------
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $mobiles = [
|
||||
// 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',
|
||||
'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',
|
||||
|
||||
// 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',
|
||||
];
|
||||
|
||||
/**
|
||||
* -------------------------------------------------------------------
|
||||
* Robots
|
||||
* -------------------------------------------------------------------
|
||||
*
|
||||
* There are hundred of bots but these are the most common.
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $robots = [
|
||||
'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,43 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Validation\CreditCardRules;
|
||||
use CodeIgniter\Validation\FileRules;
|
||||
use CodeIgniter\Validation\FormatRules;
|
||||
use CodeIgniter\Validation\Rules;
|
||||
|
||||
class Validation
|
||||
{
|
||||
//--------------------------------------------------------------------
|
||||
// Setup
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Stores the classes that contain the
|
||||
* rules that are available.
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
public $ruleSets = [
|
||||
Rules::class,
|
||||
FormatRules::class,
|
||||
FileRules::class,
|
||||
CreditCardRules::class,
|
||||
];
|
||||
|
||||
/**
|
||||
* Specifies the views that are used to display the
|
||||
* errors.
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $templates = [
|
||||
'list' => 'CodeIgniter\Validation\Views\list',
|
||||
'single' => 'CodeIgniter\Validation\Views\single',
|
||||
];
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
// Rules
|
||||
//--------------------------------------------------------------------
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\View as BaseView;
|
||||
|
||||
class View extends BaseView
|
||||
{
|
||||
/**
|
||||
* When false, the view method will clear the data between each
|
||||
* call. This keeps your data safe and ensures there is no accidental
|
||||
* leaking between calls, so you would need to explicitly pass the data
|
||||
* to each view. You might prefer to have the data stick around between
|
||||
* calls so that it is available to all views. If that is the case,
|
||||
* set $saveData to true.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $saveData = true;
|
||||
|
||||
/**
|
||||
* Parser Filters map a filter name with any PHP callable. When the
|
||||
* Parser prepares a variable for display, it will chain it
|
||||
* through the filters in the order defined, inserting any parameters.
|
||||
* To prevent potential abuse, all filters MUST be defined here
|
||||
* in order for them to be available for use within the Parser.
|
||||
*
|
||||
* Examples:
|
||||
* { title|esc(js) }
|
||||
* { created_on|date(Y-m-d)|esc(attr) }
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $filters = [];
|
||||
|
||||
/**
|
||||
* Parser Plugins provide a way to extend the functionality provided
|
||||
* by the core Parser by creating aliases that will be replaced with
|
||||
* any callable. Can be single or tag pair.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $plugins = [];
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controllers;
|
||||
|
||||
use CodeIgniter\Controller;
|
||||
use CodeIgniter\HTTP\CLIRequest;
|
||||
use CodeIgniter\HTTP\IncomingRequest;
|
||||
use CodeIgniter\HTTP\RequestInterface;
|
||||
use CodeIgniter\HTTP\ResponseInterface;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
/**
|
||||
* Class BaseController
|
||||
*
|
||||
* BaseController provides a convenient place for loading components
|
||||
* and performing functions that are needed by all your controllers.
|
||||
* Extend this class in any new controllers:
|
||||
* class Home extends BaseController
|
||||
*
|
||||
* For security be sure to declare any new methods as protected or private.
|
||||
*/
|
||||
class BaseController extends Controller
|
||||
{
|
||||
/**
|
||||
* Instance of the main Request object.
|
||||
*
|
||||
* @var CLIRequest|IncomingRequest
|
||||
*/
|
||||
protected $request;
|
||||
|
||||
/**
|
||||
* An array of helpers to be loaded automatically upon
|
||||
* class instantiation. These helpers will be available
|
||||
* to all other controllers that extend BaseController.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $helpers = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
|
||||
{
|
||||
// Do Not Edit This Line
|
||||
parent::initController($request, $response, $logger);
|
||||
|
||||
// Preload any models, libraries, etc, here.
|
||||
// $this->load->library(array('session'));
|
||||
// E.g.: $this->session = \Config\Services::session();
|
||||
}
|
||||
|
||||
var $template = array(
|
||||
'table_open' => "<table class='table table-sm table-striped table-hover table-bordered table-condensed'>",
|
||||
'thead_open' => '<thead class=\'bg-indigo\'>',
|
||||
'thead_close' => '</thead>',
|
||||
'heading_row_start' => '<tr>',
|
||||
'heading_row_end' => '</tr>',
|
||||
'heading_cell_start' => '<th>',
|
||||
'heading_cell_end' => '</th>',
|
||||
'tbody_open' => '<tbody>',
|
||||
'tbody_close' => '</tbody>',
|
||||
'row_start' => '<tr>',
|
||||
'row_end' => '</tr>',
|
||||
'cell_start' => '<td>',
|
||||
'cell_end' => '</td>',
|
||||
'row_alt_start' => '<tr>',
|
||||
'row_alt_end' => '</tr>',
|
||||
'cell_alt_start' => '<td>',
|
||||
'cell_alt_end' => '</td>',
|
||||
'table_close' => '</table>'
|
||||
);
|
||||
var $template_nohead = array(
|
||||
'table_open' => "<table class='table table-striped table-hover table-bordered table-condensed'>",
|
||||
'thead_open' => '<thead>',
|
||||
'thead_close' => '</thead>',
|
||||
'heading_row_start' => '<tr>',
|
||||
'heading_row_end' => '</tr>',
|
||||
'heading_cell_start' => '<th>',
|
||||
'heading_cell_end' => '</th>',
|
||||
'tbody_open' => '<tbody>',
|
||||
'tbody_close' => '</tbody>',
|
||||
'row_start' => '<tr>',
|
||||
'row_end' => '</tr>',
|
||||
'cell_start' => '<td>',
|
||||
'cell_end' => '</td>',
|
||||
'row_alt_start' => '<tr>',
|
||||
'row_alt_end' => '</tr>',
|
||||
'cell_alt_start' => '<td>',
|
||||
'cell_alt_end' => '</td>',
|
||||
'table_close' => '</table>'
|
||||
);
|
||||
public $data = array();
|
||||
|
||||
|
||||
public function smart_htmlspecialchars($str) {
|
||||
if (substr($str, 0, 1) == '<')
|
||||
return $str;
|
||||
return htmlspecialchars($str);
|
||||
}
|
||||
|
||||
public function sql_escape_func($inp) {
|
||||
if (is_array($inp)) {
|
||||
return array_map(__METHOD__, $inp);
|
||||
}
|
||||
|
||||
|
||||
if (!empty($inp) && is_string($inp)) {
|
||||
return str_replace(array('\\', "\0", "\n", "\r", "'", '"', "\x1a"), array('\\\\', '\\0', '\\n', '\\r', "\\'", '\\"', '\\Z'), $inp);
|
||||
}
|
||||
|
||||
return $inp;
|
||||
}
|
||||
|
||||
public function renderSitePage($page_name, $data) {
|
||||
// $this->load->library('location');
|
||||
$data['location'] =''; // (object) $this->location->get_user_location();
|
||||
// print_r($data['location']);
|
||||
$data["this_page_name"] = $page_name;
|
||||
$composed_page = view('site/header', $data).view('site/' . $page_name, $data).view('site/footer', $data);
|
||||
echo $composed_page;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controllers;
|
||||
|
||||
class Home extends BaseController
|
||||
{
|
||||
protected $db;
|
||||
public $con_name = 'default';
|
||||
|
||||
|
||||
public function index()
|
||||
{
|
||||
return view('welcome_message');
|
||||
}
|
||||
|
||||
public function home(){
|
||||
return view('site/home');
|
||||
}
|
||||
public function about(){
|
||||
$data=array();
|
||||
$this->renderSitePage('about',$data);
|
||||
}
|
||||
public function services(){
|
||||
$data=array();
|
||||
$this->renderSitePage('services',$data);
|
||||
}
|
||||
public function contact(){
|
||||
$data=array();
|
||||
$this->renderSitePage('contact',$data);
|
||||
}
|
||||
public function blog(){
|
||||
$data=array();
|
||||
$this->db = \Config\Database::connect($this->con_name);
|
||||
|
||||
try {
|
||||
$mysql = "SELECT id, post_title, post_content,post_date,comment_count FROM wp_posts WHERE post_type='post' AND post_status = 'publish' ORDER BY post_date DESC LIMIT 9";
|
||||
|
||||
|
||||
$mysql = "SELECT p1.id AS id, p1.*, wm2.meta_value FROM wp_posts p1 LEFT JOIN wp_postmeta wm1
|
||||
ON (wm1.post_id = p1.id AND wm1.meta_value IS NOT NULL AND wm1.meta_key = '_thumbnail_id' )
|
||||
LEFT JOIN
|
||||
wp_postmeta wm2
|
||||
ON (wm1.meta_value = wm2.post_id AND wm2.meta_key = '_wp_attached_file' AND wm2.meta_value IS NOT NULL )
|
||||
WHERE
|
||||
p1.post_status='publish'
|
||||
AND p1.post_type='post'
|
||||
ORDER BY p1.post_date DESC LIMIT 9";
|
||||
|
||||
|
||||
|
||||
$query = $this->db->query($mysql);
|
||||
|
||||
$row = $query->getResultArray();
|
||||
// print_r( $row );
|
||||
// $r = $this->db->query($mysql);
|
||||
$data["blog_array"] = $row;
|
||||
} catch (Exception $ex) {
|
||||
|
||||
}
|
||||
|
||||
// featured
|
||||
try {
|
||||
$mysql = "SELECT id, post_title, post_content,post_date,comment_count
|
||||
FROM wp_posts WHERE post_type='post' AND post_status = 'publish' AND id = 263";
|
||||
$query = $this->db->query($mysql);
|
||||
|
||||
$rowF = $query->getResultArray();
|
||||
// print_r( $rowF );
|
||||
// $r = $this->db->query($mysql);
|
||||
$data["blog_featured"] = $rowF[0];
|
||||
} catch (Exception $ex) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
$this->renderSitePage('blog',$data);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
// override core en language system validation or define your own en language validation message
|
||||
return [];
|
||||
Vendored
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
use CodeIgniter\CLI\CLI;
|
||||
|
||||
CLI::error('ERROR: ' . $code);
|
||||
CLI::write($message);
|
||||
CLI::newLine();
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
use CodeIgniter\CLI\CLI;
|
||||
|
||||
// The main Exception
|
||||
CLI::newLine();
|
||||
CLI::write('[' . get_class($exception) . ']', 'light_gray', 'red');
|
||||
CLI::newLine();
|
||||
CLI::write($message);
|
||||
CLI::newLine();
|
||||
CLI::write('at ' . CLI::color(clean_path($exception->getFile()) . ':' . $exception->getLine(), 'green'));
|
||||
CLI::newLine();
|
||||
|
||||
// The backtrace
|
||||
if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE) {
|
||||
$backtraces = $exception->getTrace();
|
||||
|
||||
if ($backtraces) {
|
||||
CLI::write('Backtrace:', 'green');
|
||||
}
|
||||
|
||||
foreach ($backtraces as $i => $error) {
|
||||
$padFile = ' '; // 4 spaces
|
||||
$padClass = ' '; // 7 spaces
|
||||
$c = str_pad($i + 1, 3, ' ', STR_PAD_LEFT);
|
||||
|
||||
if (isset($error['file'])) {
|
||||
$filepath = clean_path($error['file']) . ':' . $error['line'];
|
||||
|
||||
CLI::write($c . $padFile . CLI::color($filepath, 'yellow'));
|
||||
} else {
|
||||
CLI::write($c . $padFile . CLI::color('[internal function]', 'yellow'));
|
||||
}
|
||||
|
||||
$function = '';
|
||||
|
||||
if (isset($error['class'])) {
|
||||
$type = ($error['type'] === '->') ? '()' . $error['type'] : $error['type'];
|
||||
$function .= $padClass . $error['class'] . $type . $error['function'];
|
||||
} elseif (! isset($error['class']) && isset($error['function'])) {
|
||||
$function .= $padClass . $error['function'];
|
||||
}
|
||||
|
||||
$args = implode(', ', array_map(static function ($value) {
|
||||
switch (true) {
|
||||
case is_object($value):
|
||||
return 'Object(' . get_class($value) . ')';
|
||||
|
||||
case is_array($value):
|
||||
return count($value) ? '[...]' : '[]';
|
||||
|
||||
case $value === null:
|
||||
return 'null'; // return the lowercased version
|
||||
|
||||
default:
|
||||
return var_export($value, true);
|
||||
}
|
||||
}, array_values($error['args'] ?? [])));
|
||||
|
||||
$function .= '(' . $args . ')';
|
||||
|
||||
CLI::write($function);
|
||||
CLI::newLine();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
// On the CLI, we still want errors in productions
|
||||
// so just use the exception template.
|
||||
include __DIR__ . '/error_exception.php';
|
||||
@@ -0,0 +1,197 @@
|
||||
:root {
|
||||
--main-bg-color: #fff;
|
||||
--main-text-color: #555;
|
||||
--dark-text-color: #222;
|
||||
--light-text-color: #c7c7c7;
|
||||
--brand-primary-color: #E06E3F;
|
||||
--light-bg-color: #ededee;
|
||||
--dark-bg-color: #404040;
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100%;
|
||||
background: var(--main-bg-color);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
||||
color: var(--main-text-color);
|
||||
font-weight: 300;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
h1 {
|
||||
font-weight: lighter;
|
||||
letter-spacing: 0.8;
|
||||
font-size: 3rem;
|
||||
color: var(--dark-text-color);
|
||||
margin: 0;
|
||||
}
|
||||
h1.headline {
|
||||
margin-top: 20%;
|
||||
font-size: 5rem;
|
||||
}
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
p.lead {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
.container {
|
||||
max-width: 75rem;
|
||||
margin: 0 auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
.header {
|
||||
background: var(--light-bg-color);
|
||||
color: var(--dark-text-color);
|
||||
}
|
||||
.header .container {
|
||||
padding: 1rem 1.75rem 1.75rem 1.75rem;
|
||||
}
|
||||
.header h1 {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
.header p {
|
||||
font-size: 1.2rem;
|
||||
margin: 0;
|
||||
line-height: 2.5;
|
||||
}
|
||||
.header a {
|
||||
color: var(--brand-primary-color);
|
||||
margin-left: 2rem;
|
||||
display: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
.header:hover a {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background: var(--dark-bg-color);
|
||||
color: var(--light-text-color);
|
||||
}
|
||||
.footer .container {
|
||||
border-top: 1px solid #e7e7e7;
|
||||
margin-top: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.source {
|
||||
background: #343434;
|
||||
color: var(--light-text-color);
|
||||
padding: 0.5em 1em;
|
||||
border-radius: 5px;
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
font-size: 0.85rem;
|
||||
margin: 0;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
.source span.line {
|
||||
line-height: 1.4;
|
||||
}
|
||||
.source span.line .number {
|
||||
color: #666;
|
||||
}
|
||||
.source .line .highlight {
|
||||
display: block;
|
||||
background: var(--dark-text-color);
|
||||
color: var(--light-text-color);
|
||||
}
|
||||
.source span.highlight .number {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
list-style: none;
|
||||
list-style-position: inside;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
.tabs li {
|
||||
display: inline;
|
||||
}
|
||||
.tabs a:link,
|
||||
.tabs a:visited {
|
||||
padding: 0rem 1rem;
|
||||
line-height: 2.7;
|
||||
text-decoration: none;
|
||||
color: var(--dark-text-color);
|
||||
background: var(--light-bg-color);
|
||||
border: 1px solid rgba(0,0,0,0.15);
|
||||
border-bottom: 0;
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
display: inline-block;
|
||||
}
|
||||
.tabs a:hover {
|
||||
background: var(--light-bg-color);
|
||||
border-color: rgba(0,0,0,0.15);
|
||||
}
|
||||
.tabs a.active {
|
||||
background: var(--main-bg-color);
|
||||
color: var(--main-text-color);
|
||||
}
|
||||
.tab-content {
|
||||
background: var(--main-bg-color);
|
||||
border: 1px solid rgba(0,0,0,0.15);
|
||||
}
|
||||
.content {
|
||||
padding: 1rem;
|
||||
}
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.alert {
|
||||
margin-top: 2rem;
|
||||
display: block;
|
||||
text-align: center;
|
||||
line-height: 3.0;
|
||||
background: #d9edf7;
|
||||
border: 1px solid #bcdff1;
|
||||
border-radius: 5px;
|
||||
color: #31708f;
|
||||
}
|
||||
ul, ol {
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
th {
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #e7e7e7;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
td {
|
||||
padding: 0.2rem 0.5rem 0.2rem 0;
|
||||
}
|
||||
tr:hover td {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
td pre {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.trace a {
|
||||
color: inherit;
|
||||
}
|
||||
.trace table {
|
||||
width: auto;
|
||||
}
|
||||
.trace tr td:first-child {
|
||||
min-width: 5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
.trace td {
|
||||
background: var(--light-bg-color);
|
||||
padding: 0 1rem;
|
||||
}
|
||||
.trace td pre {
|
||||
margin: 0;
|
||||
}
|
||||
.args {
|
||||
display: none;
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
// Tabs
|
||||
|
||||
var tabLinks = new Array();
|
||||
var contentDivs = new Array();
|
||||
|
||||
function init()
|
||||
{
|
||||
// Grab the tab links and content divs from the page
|
||||
var tabListItems = document.getElementById('tabs').childNodes;
|
||||
console.log(tabListItems);
|
||||
for (var i = 0; i < tabListItems.length; i ++)
|
||||
{
|
||||
if (tabListItems[i].nodeName == "LI")
|
||||
{
|
||||
var tabLink = getFirstChildWithTagName(tabListItems[i], 'A');
|
||||
var id = getHash(tabLink.getAttribute('href'));
|
||||
tabLinks[id] = tabLink;
|
||||
contentDivs[id] = document.getElementById(id);
|
||||
}
|
||||
}
|
||||
|
||||
// Assign onclick events to the tab links, and
|
||||
// highlight the first tab
|
||||
var i = 0;
|
||||
|
||||
for (var id in tabLinks)
|
||||
{
|
||||
tabLinks[id].onclick = showTab;
|
||||
tabLinks[id].onfocus = function () {
|
||||
this.blur()
|
||||
};
|
||||
if (i == 0)
|
||||
{
|
||||
tabLinks[id].className = 'active';
|
||||
}
|
||||
i ++;
|
||||
}
|
||||
|
||||
// Hide all content divs except the first
|
||||
var i = 0;
|
||||
|
||||
for (var id in contentDivs)
|
||||
{
|
||||
if (i != 0)
|
||||
{
|
||||
console.log(contentDivs[id]);
|
||||
contentDivs[id].className = 'content hide';
|
||||
}
|
||||
i ++;
|
||||
}
|
||||
}
|
||||
|
||||
function showTab()
|
||||
{
|
||||
var selectedId = getHash(this.getAttribute('href'));
|
||||
|
||||
// Highlight the selected tab, and dim all others.
|
||||
// Also show the selected content div, and hide all others.
|
||||
for (var id in contentDivs)
|
||||
{
|
||||
if (id == selectedId)
|
||||
{
|
||||
tabLinks[id].className = 'active';
|
||||
contentDivs[id].className = 'content';
|
||||
}
|
||||
else
|
||||
{
|
||||
tabLinks[id].className = '';
|
||||
contentDivs[id].className = 'content hide';
|
||||
}
|
||||
}
|
||||
|
||||
// Stop the browser following the link
|
||||
return false;
|
||||
}
|
||||
|
||||
function getFirstChildWithTagName(element, tagName)
|
||||
{
|
||||
for (var i = 0; i < element.childNodes.length; i ++)
|
||||
{
|
||||
if (element.childNodes[i].nodeName == tagName)
|
||||
{
|
||||
return element.childNodes[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getHash(url)
|
||||
{
|
||||
var hashPos = url.lastIndexOf('#');
|
||||
return url.substring(hashPos + 1);
|
||||
}
|
||||
|
||||
function toggle(elem)
|
||||
{
|
||||
elem = document.getElementById(elem);
|
||||
|
||||
if (elem.style && elem.style['display'])
|
||||
{
|
||||
// Only works with the "style" attr
|
||||
var disp = elem.style['display'];
|
||||
}
|
||||
else if (elem.currentStyle)
|
||||
{
|
||||
// For MSIE, naturally
|
||||
var disp = elem.currentStyle['display'];
|
||||
}
|
||||
else if (window.getComputedStyle)
|
||||
{
|
||||
// For most other browsers
|
||||
var disp = document.defaultView.getComputedStyle(elem, null).getPropertyValue('display');
|
||||
}
|
||||
|
||||
// Toggle the state of the "display" style
|
||||
elem.style.display = disp == 'block' ? 'none' : 'block';
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>404 Page Not Found</title>
|
||||
|
||||
<style>
|
||||
div.logo {
|
||||
height: 200px;
|
||||
width: 155px;
|
||||
display: inline-block;
|
||||
opacity: 0.08;
|
||||
position: absolute;
|
||||
top: 2rem;
|
||||
left: 50%;
|
||||
margin-left: -73px;
|
||||
}
|
||||
body {
|
||||
height: 100%;
|
||||
background: #fafafa;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
color: #777;
|
||||
font-weight: 300;
|
||||
}
|
||||
h1 {
|
||||
font-weight: lighter;
|
||||
letter-spacing: 0.8;
|
||||
font-size: 3rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
color: #222;
|
||||
}
|
||||
.wrap {
|
||||
max-width: 1024px;
|
||||
margin: 5rem auto;
|
||||
padding: 2rem;
|
||||
background: #fff;
|
||||
text-align: center;
|
||||
border: 1px solid #efefef;
|
||||
border-radius: 0.5rem;
|
||||
position: relative;
|
||||
}
|
||||
pre {
|
||||
white-space: normal;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
code {
|
||||
background: #fafafa;
|
||||
border: 1px solid #efefef;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 5px;
|
||||
display: block;
|
||||
}
|
||||
p {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
.footer {
|
||||
margin-top: 2rem;
|
||||
border-top: 1px solid #efefef;
|
||||
padding: 1em 2em 0 2em;
|
||||
font-size: 85%;
|
||||
color: #999;
|
||||
}
|
||||
a:active,
|
||||
a:link,
|
||||
a:visited {
|
||||
color: #dd4814;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<h1>404 - File Not Found</h1>
|
||||
|
||||
<p>
|
||||
<?php if (! empty($message) && $message !== '(null)') : ?>
|
||||
<?= nl2br(esc($message)) ?>
|
||||
<?php else : ?>
|
||||
Sorry! Cannot seem to find the page you were looking for.
|
||||
<?php endif ?>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,397 @@
|
||||
<?php $error_id = uniqid('error', true); ?>
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="robots" content="noindex">
|
||||
|
||||
<title><?= esc($title) ?></title>
|
||||
<style type="text/css">
|
||||
<?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'debug.css')) ?>
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
<?= file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'debug.js') ?>
|
||||
</script>
|
||||
</head>
|
||||
<body onload="init()">
|
||||
|
||||
<!-- Header -->
|
||||
<div class="header">
|
||||
<div class="container">
|
||||
<h1><?= esc($title), esc($exception->getCode() ? ' #' . $exception->getCode() : '') ?></h1>
|
||||
<p>
|
||||
<?= nl2br(esc($exception->getMessage())) ?>
|
||||
<a href="https://www.duckduckgo.com/?q=<?= urlencode($title . ' ' . preg_replace('#\'.*\'|".*"#Us', '', $exception->getMessage())) ?>"
|
||||
rel="noreferrer" target="_blank">search →</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Source -->
|
||||
<div class="container">
|
||||
<p><b><?= esc(static::cleanPath($file, $line)) ?></b> at line <b><?= esc($line) ?></b></p>
|
||||
|
||||
<?php if (is_file($file)) : ?>
|
||||
<div class="source">
|
||||
<?= static::highlightFile($file, $line, 15); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<ul class="tabs" id="tabs">
|
||||
<li><a href="#backtrace">Backtrace</a></li>
|
||||
<li><a href="#server">Server</a></li>
|
||||
<li><a href="#request">Request</a></li>
|
||||
<li><a href="#response">Response</a></li>
|
||||
<li><a href="#files">Files</a></li>
|
||||
<li><a href="#memory">Memory</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
|
||||
<!-- Backtrace -->
|
||||
<div class="content" id="backtrace">
|
||||
|
||||
<ol class="trace">
|
||||
<?php foreach ($trace as $index => $row) : ?>
|
||||
|
||||
<li>
|
||||
<p>
|
||||
<!-- Trace info -->
|
||||
<?php if (isset($row['file']) && is_file($row['file'])) :?>
|
||||
<?php
|
||||
if (isset($row['function']) && in_array($row['function'], ['include', 'include_once', 'require', 'require_once'], true)) {
|
||||
echo esc($row['function'] . ' ' . static::cleanPath($row['file']));
|
||||
} else {
|
||||
echo esc(static::cleanPath($row['file']) . ' : ' . $row['line']);
|
||||
}
|
||||
?>
|
||||
<?php else : ?>
|
||||
{PHP internal code}
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Class/Method -->
|
||||
<?php if (isset($row['class'])) : ?>
|
||||
— <?= esc($row['class'] . $row['type'] . $row['function']) ?>
|
||||
<?php if (! empty($row['args'])) : ?>
|
||||
<?php $args_id = $error_id . 'args' . $index ?>
|
||||
( <a href="#" onclick="return toggle('<?= esc($args_id, 'attr') ?>');">arguments</a> )
|
||||
<div class="args" id="<?= esc($args_id, 'attr') ?>">
|
||||
<table cellspacing="0">
|
||||
|
||||
<?php
|
||||
$params = null;
|
||||
// Reflection by name is not available for closure function
|
||||
if (substr($row['function'], -1) !== '}') {
|
||||
$mirror = isset($row['class']) ? new \ReflectionMethod($row['class'], $row['function']) : new \ReflectionFunction($row['function']);
|
||||
$params = $mirror->getParameters();
|
||||
}
|
||||
|
||||
foreach ($row['args'] as $key => $value) : ?>
|
||||
<tr>
|
||||
<td><code><?= esc(isset($params[$key]) ? '$' . $params[$key]->name : "#{$key}") ?></code></td>
|
||||
<td><pre><?= esc(print_r($value, true)) ?></pre></td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
()
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (! isset($row['class']) && isset($row['function'])) : ?>
|
||||
— <?= esc($row['function']) ?>()
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
|
||||
<!-- Source? -->
|
||||
<?php if (isset($row['file']) && is_file($row['file']) && isset($row['class'])) : ?>
|
||||
<div class="source">
|
||||
<?= static::highlightFile($row['file'], $row['line']) ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Server -->
|
||||
<div class="content" id="server">
|
||||
<?php foreach (['_SERVER', '_SESSION'] as $var) : ?>
|
||||
<?php
|
||||
if (empty($GLOBALS[$var]) || ! is_array($GLOBALS[$var])) {
|
||||
continue;
|
||||
} ?>
|
||||
|
||||
<h3>$<?= esc($var) ?></h3>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Key</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($GLOBALS[$var] as $key => $value) : ?>
|
||||
<tr>
|
||||
<td><?= esc($key) ?></td>
|
||||
<td>
|
||||
<?php if (is_string($value)) : ?>
|
||||
<?= esc($value) ?>
|
||||
<?php else: ?>
|
||||
<pre><?= esc(print_r($value, true)) ?></pre>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php endforeach ?>
|
||||
|
||||
<!-- Constants -->
|
||||
<?php $constants = get_defined_constants(true); ?>
|
||||
<?php if (! empty($constants['user'])) : ?>
|
||||
<h3>Constants</h3>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Key</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($constants['user'] as $key => $value) : ?>
|
||||
<tr>
|
||||
<td><?= esc($key) ?></td>
|
||||
<td>
|
||||
<?php if (is_string($value)) : ?>
|
||||
<?= esc($value) ?>
|
||||
<?php else: ?>
|
||||
<pre><?= esc(print_r($value, true)) ?></pre>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<!-- Request -->
|
||||
<div class="content" id="request">
|
||||
<?php $request = \Config\Services::request(); ?>
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 10em">Path</td>
|
||||
<td><?= esc($request->getUri()) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>HTTP Method</td>
|
||||
<td><?= esc($request->getMethod(true)) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IP Address</td>
|
||||
<td><?= esc($request->getIPAddress()) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 10em">Is AJAX Request?</td>
|
||||
<td><?= $request->isAJAX() ? 'yes' : 'no' ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Is CLI Request?</td>
|
||||
<td><?= $request->isCLI() ? 'yes' : 'no' ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Is Secure Request?</td>
|
||||
<td><?= $request->isSecure() ? 'yes' : 'no' ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>User Agent</td>
|
||||
<td><?= esc($request->getUserAgent()->getAgentString()) ?></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<?php $empty = true; ?>
|
||||
<?php foreach (['_GET', '_POST', '_COOKIE'] as $var) : ?>
|
||||
<?php
|
||||
if (empty($GLOBALS[$var]) || ! is_array($GLOBALS[$var])) {
|
||||
continue;
|
||||
} ?>
|
||||
|
||||
<?php $empty = false; ?>
|
||||
|
||||
<h3>$<?= esc($var) ?></h3>
|
||||
|
||||
<table style="width: 100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Key</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($GLOBALS[$var] as $key => $value) : ?>
|
||||
<tr>
|
||||
<td><?= esc($key) ?></td>
|
||||
<td>
|
||||
<?php if (is_string($value)) : ?>
|
||||
<?= esc($value) ?>
|
||||
<?php else: ?>
|
||||
<pre><?= esc(print_r($value, true)) ?></pre>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php if ($empty) : ?>
|
||||
|
||||
<div class="alert">
|
||||
No $_GET, $_POST, or $_COOKIE Information to show.
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $headers = $request->getHeaders(); ?>
|
||||
<?php if (! empty($headers)) : ?>
|
||||
|
||||
<h3>Headers</h3>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Header</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($headers as $value) : ?>
|
||||
<?php
|
||||
if (empty($value)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (! is_array($value)) {
|
||||
$value = [$value];
|
||||
} ?>
|
||||
<?php foreach ($value as $h) : ?>
|
||||
<tr>
|
||||
<td><?= esc($h->getName(), 'html') ?></td>
|
||||
<td><?= esc($h->getValueLine(), 'html') ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<!-- Response -->
|
||||
<?php
|
||||
$response = \Config\Services::response();
|
||||
$response->setStatusCode(http_response_code());
|
||||
?>
|
||||
<div class="content" id="response">
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width: 15em">Response Status</td>
|
||||
<td><?= esc($response->getStatusCode() . ' - ' . $response->getReason()) ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php $headers = $response->getHeaders(); ?>
|
||||
<?php if (! empty($headers)) : ?>
|
||||
<?php natsort($headers) ?>
|
||||
|
||||
<h3>Headers</h3>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Header</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($headers as $name => $value) : ?>
|
||||
<tr>
|
||||
<td><?= esc($name, 'html') ?></td>
|
||||
<td><?= esc($response->getHeaderLine($name), 'html') ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<!-- Files -->
|
||||
<div class="content" id="files">
|
||||
<?php $files = get_included_files(); ?>
|
||||
|
||||
<ol>
|
||||
<?php foreach ($files as $file) :?>
|
||||
<li><?= esc(static::cleanPath($file)) ?></li>
|
||||
<?php endforeach ?>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<!-- Memory -->
|
||||
<div class="content" id="memory">
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Memory Usage</td>
|
||||
<td><?= esc(static::describeMemory(memory_get_usage(true))) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 12em">Peak Memory Usage:</td>
|
||||
<td><?= esc(static::describeMemory(memory_get_peak_usage(true))) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Memory Limit:</td>
|
||||
<td><?= esc(ini_get('memory_limit')) ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</div> <!-- /tab-content -->
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
<div class="footer">
|
||||
<div class="container">
|
||||
|
||||
<p>
|
||||
Displayed at <?= esc(date('H:i:sa')) ?> —
|
||||
PHP: <?= esc(PHP_VERSION) ?> —
|
||||
CodeIgniter: <?= esc(\CodeIgniter\CodeIgniter::CI_VERSION) ?>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="robots" content="noindex">
|
||||
|
||||
<title>Whoops!</title>
|
||||
|
||||
<style type="text/css">
|
||||
<?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'debug.css')) ?>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container text-center">
|
||||
|
||||
<h1 class="headline">Whoops!</h1>
|
||||
|
||||
<p class="lead">We seem to have hit a snag. Please try again later...</p>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,242 @@
|
||||
<div id="Content">
|
||||
<div class="content_wrapper clearfix">
|
||||
<div class="sections_group">
|
||||
<div class="entry-content">
|
||||
<div class="section mcb-section mcb-section-xgz5ju3kc bg-cover" style="padding-top:0px;padding-bottom:0px;background-image:url(/assets/images/insurance3-subheader1.jpg);background-repeat:no-repeat;background-position:center bottom;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-utz74m51s one valign-top clearfix" style="padding:30% 0 10%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-wrwkbkxmp one column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 52% 0 0;">
|
||||
<h2>About us</h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
With experience in software development, implementation, quality assurance and software support since 2000, we build our designs on deep understanding of all business and functional requirements as well as ambiguous nuances of practical business workflows
|
||||
We offer comprehensive software services that cover the full development and implementation cycle of your IT project including a full range of consulting services.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-oevvd681l" style="padding-top:110px;padding-bottom:170px;background-color:#e6eef8">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-csl8x0xjn one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-77lg20pwl three-fourth column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h6 class="insurance3-heading">Working Strategy</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2>How we work with you to achieve your goals.</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-dg6ip8mmw one-second valign-top clearfix" style="padding:0 5% 0 0">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-mhemcei5w one column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<p>
|
||||
We listen. We hear what you want, your budget for the timeline, your immediate goal, all you desire to share for positive outcome succeed. It is your Process, and we are attentive. Technical words should be less worrisome; talk to us in your most convenient explicit words.
|
||||
</p>
|
||||
<p>
|
||||
We develop a plan. Combine your views with our experience to achieve your goals. We acknowledge your opinions, perspectives, desires, and outcomes. All these in a fold with one-on-one communication so that you can include or improve these ideas. Conclusions to product outcomes are all you! </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-6b8il9ckk one-second valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-mp1jtxfai one column_column column-margin-10px">
|
||||
<div class="column_attr clearfix" style>
|
||||
<p>
|
||||
We deliver what you want. You get absolutely what directives we receive from you, including specific tools required. Efficiency is key to your taste. At the end of the project, you'll award yourself a big smile for us meeting your expectations.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-42hhv43at one column_column column-margin-10px">
|
||||
<div class="column_attr clearfix" style="background-image:url('/assets/images/insurance3-list.png');background-repeat:no-repeat;background-position:left top;padding:0 0 0 45px;">
|
||||
<p style="color: #272b5c;">
|
||||
<a href="/contact">Contact us for detail</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-4xnooe8kg" style="padding-top:0px;padding-bottom:0px;background-color:">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-j0s15za6x one valign-top move-up clearfix" style="margin-top:-140px" data-mobile="no-up">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-g9b2jpgyd one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" src="/assets/images/insurance3-about-pic1.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div class="section mcb-section mcb-section-qdp7w6yvp" style="padding-top:70px;padding-bottom:70px;background-color:">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-rqyq5e3bu one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-kneolrsd0 one-fourth column_chart">
|
||||
<div class="chart_box">
|
||||
<div class="chart" data-percent="78" data-bar-color="#fc2820">
|
||||
<div class="num">
|
||||
78%
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<big>Lorem ipsum</big>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-915z4ls9c one-fourth column_chart">
|
||||
<div class="chart_box">
|
||||
<div class="chart" data-percent="92" data-bar-color="#fc2820">
|
||||
<div class="num">
|
||||
92%
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<big>Quisque lorem </big>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-vijrybn5m one-fourth column_chart">
|
||||
<div class="chart_box">
|
||||
<div class="chart" data-percent="64" data-bar-color="#fc2820">
|
||||
<div class="num">
|
||||
64%
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<big>Faucibus</big>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-ofieg3b3k one-fourth column_chart">
|
||||
<div class="chart_box">
|
||||
<div class="chart" data-percent="98" data-bar-color="#fc2820">
|
||||
<div class="num">
|
||||
98%
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<big>Nulla ipsum</big>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div class="section mcb-section mcb-section-j8afk5vf5 highlight-right bg-cover" style="padding-top:0px;padding-bottom:0px;background-image:url(/assets/images/insurance3-sectionbg2.jpg);background-repeat:no-repeat;background-position:left top;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-r5pxtgxi6 one-second valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-q4nh053p5 one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 400px;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-outwi7du7 one-second valign-top clearfix" style="padding:110px 4% 70px 8%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-t3l9wr3um one column_column column-margin-30px">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h6 class="insurance3-heading2">Your Solution</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2>We are here to understand your solution.</h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
We are capable of listening to your creativity to find the technology intersection and help you craft a path to realization. No idea is turned down. We are fully committed to helping you get moving.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-me4cqkp2o one column_button">
|
||||
<a class="button button_size_2 button_theme button_js" href="/contact"><span class="button_label"> Contact us</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-x4i8x457u" style="padding-top:110px;padding-bottom:70px;background-color:">
|
||||
<div class="section-decoration top" style="background-image:url(about-us/theme.html);height:px"></div>
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-2zqmrhmq5 one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-1gkomr9nz three-fourth column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h6 class="insurance3-heading2">Detail Solution</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2>Sometimes it is just a design depth problem.</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-8o6755si7 one-second column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 7% 0 0;">
|
||||
<p>
|
||||
Your project may be existing with some problems or upgrade needs. These needs usually emanate for missing solution analysis or changing landscape against your current implementation.
|
||||
</p>
|
||||
<p>
|
||||
Our year of experience comes into play. We can work with you to re-evaluate your current solution. Derive a new path of fixed that will last with your immediate goals. We do all these with a team of in house and collaborating experts across the globe.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-260s5luk9 one-second column_column" style="background-color:red; height:300px; background-image:url(/assets/images/insurance3-sectionbg2.jpg); background-size:cover;" >
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-5056eef7e full-width bg-cover" style="padding-top:110px;padding-bottom:0px;background-image:url(/assets/images/insurance3-sectionbg1.jpg);background-repeat:no-repeat;background-position:center bottom;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-a81d0edb7 one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-7351d929f one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h6 class="insurance3-heading">CONTACT</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2><?=SITE_CONTACT_HEAD?></h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
<?=SITE_CONTACT_OTHER_TXT?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-e10161fe6 one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 30px;">
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-b5b0c943a one column_button">
|
||||
<div class="button_align align_center">
|
||||
<a class="button button_size_2 button_theme button_js" href="/contact"><span class="button_label">CONTACT US NOW</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-90d7a9928 one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 50px;">
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-6945733c6 one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid aligncenter no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" src="/assets/images/insurance3-home-pic2.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
<div id="Content">
|
||||
<div class="content_wrapper clearfix">
|
||||
<div class="sections_group">
|
||||
<div class="entry-content">
|
||||
<div class="section mcb-section mcb-section-xgz5ju3kc bg-cover" style="padding-top:0px;padding-bottom:0px;background-image:url(/assets/images/insurance3-subheader1.jpg);background-repeat:no-repeat;background-position:center bottom;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-utz74m51s one valign-top clearfix" style="padding:30% 0 10%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-wrwkbkxmp one column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 52% 0 0;">
|
||||
<h2>Blog Articles</h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
We have a few articles based on popularity read from our bog. You can always visit our blog at <a href="https://blog.chiefsoft.com">https://blog.chiefsoft.com</a> for more information.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-lsgo36z5s" style="padding-top:110px;padding-bottom:70px;background-image:url(/assets/images/insurance3-sectionbg3.png);background-repeat:repeat-x;background-position:center top;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-lr1bo58h7 one-second valign-middle clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-69sgk7sg1 one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid aligncenter no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" src="/assets/images/insurance3-articles-pic1.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-1mhmri34p one-second valign-middle clearfix" style="padding:0 0 0 5%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-2ph3gb2bh one column_column column-margin-30px">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h6 class="insurance3-heading">Featured</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2><?php echo $blog_featured["post_title"]; ?></h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
<?php echo substr(trim($blog_featured["post_content"]), 0, 250); ?>...
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-cgwfx569j one column_button">
|
||||
<a class="button button_size_2 button_theme button_js" href="https://blog.chiefsoft.com/?p=<?php echo $blog_featured["id"]; ?>"><span class="button_label">READ MORE</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-jisrg8r6s" style="padding-top:0px;padding-bottom:40px;background-color:">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-l23o7r81b one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-sact5yv9g three-fourth column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h2>Recent Interesting Blog Posts.</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section ">
|
||||
<div class="section_wrapper clearfix">
|
||||
<div class="column one column_blog">
|
||||
<div class="blog_wrapper isotope_wrapper">
|
||||
<div class="posts_group lm_wrapper grid col-3">
|
||||
<?php
|
||||
/*
|
||||
print_r( $blog_array );
|
||||
|
||||
|
||||
echo "Ameye";
|
||||
$total_article = 12;
|
||||
for ($ii = 0; $ii < $total_article; $ii++) {
|
||||
echo $ii;
|
||||
include("blog_unit.php");
|
||||
}
|
||||
*/
|
||||
// print_r( $blog_array );
|
||||
foreach ($blog_array as $blgr) {
|
||||
|
||||
// print_r($blgr);
|
||||
$title = $blgr["post_title"];
|
||||
$content = substr($blgr["post_content"], 0, 100);
|
||||
$post_date = $blgr["post_date"];
|
||||
$blog_id = $blgr["id"];
|
||||
$comment_count = $blgr["comment_count"];
|
||||
$meta_value = $blgr["meta_value"];
|
||||
include("blog_unit.php");
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
$blog_link="https://blog.chiefsoft.com/?p=".$blog_id;
|
||||
$blog_image = "https://blog.chiefsoft.com/wp-content/uploads/".$meta_value; //2018/06/demo-image-00003-380x220.jpg"; ///assets/images/insurance3-articles-post1-960x720.jpg
|
||||
?>
|
||||
<div class="post-item isotope-item clearfix post-56 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized" style>
|
||||
<div class="date_label">
|
||||
<?php echo $post_date; ?>
|
||||
</div>
|
||||
<div class="image_frame post-photo-wrapper scale-with-grid image">
|
||||
<div class="image_wrapper">
|
||||
<a href="<?php echo $blog_link;?>">
|
||||
<div class="mask"></div><img src="<?php echo $blog_image;?>" class="scale-with-grid wp-post-image" alt></a>
|
||||
<div class="image_links double">
|
||||
<a href="<?php echo $blog_link;?>" class="zoom" rel="prettyphoto"><i class="icon-search"></i></a><a href="<?php echo $blog_link;?>" class="link"><i class="icon-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-desc-wrapper bg-" style>
|
||||
<div class="post-desc">
|
||||
<div class="post-head">
|
||||
<div class="post-meta clearfix">
|
||||
<div class="author-date">
|
||||
<span class="date"><i class="icon-clock"></i> <span class="post-date updated"><?php echo $post_date; ?></span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-title">
|
||||
<h2 class="entry-title"><a href="<?php echo $blog_link;?>"><?php echo $title;?></a></h2>
|
||||
</div>
|
||||
<div class="post-excerpt">
|
||||
<?php echo $content; ?>
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<div class="button-love">
|
||||
<span class="love-text">Do you like it?</span><a href="#" class="mfn-love " data-id="56"><span class="icons-wrapper"><i class="icon-heart-empty-fa"></i><i class="icon-heart-fa"></i></span><span class="label"><?php echo $comment_count;?></span></a>
|
||||
</div>
|
||||
<div class="post-links">
|
||||
<i class="icon-doc-text"></i><a href="<?php echo $blog_link;?>" class="post-more">Read more</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,150 @@
|
||||
|
||||
|
||||
<div id="Content">
|
||||
<div class="content_wrapper clearfix">
|
||||
<div class="sections_group">
|
||||
<div class="entry-content">
|
||||
<div class="section mcb-section mcb-section-3ccb66826 bg-cover" style="padding-top:0px;padding-bottom:0px;background-image:url(/assets/images/insurance3-subheader4.jpg);background-repeat:no-repeat;background-position:center bottom;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-478793fd8 one valign-top clearfix" style="padding:30% 0 10%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-8c3e5fcd5 one column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 52% 0 0;">
|
||||
<h2>Contact us</h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
Whatever your objective, we’d love to design and build your next big idea or lend a hand on an existing one. We invite your questions, comments, or concerns. If you just want to spread love and give inspiration, we will accept those as well.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-337lh2y1g" style="padding-top:110px;padding-bottom:110px;background-image:url(/assets/images/insurance3-sectionbg3.png);background-repeat:repeat-x;background-position:center top;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-e51rowvod one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-vi3czm21z one-third column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h6 class="insurance3-heading">CONTACT INFO</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<p>
|
||||
Phone /Email
|
||||
</p>
|
||||
<h4> <?=SITE_PHONE?></h4>
|
||||
<p><a href="#"><?=SITE_EMAIL?></a></p>
|
||||
<!-- p>
|
||||
E-mail
|
||||
</p -->
|
||||
<h4></h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-rkzsodi8q one-third column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h6 class="insurance3-heading">ADDRESS</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<p>
|
||||
<?=SITE_NAME?>
|
||||
</p>
|
||||
<h4>
|
||||
<?=SITE_ADDRL1?>,
|
||||
<br> <?=SITE_ADDRL2?>,
|
||||
<br> USA
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-c7lb6ye7o one-third column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h6 class="insurance3-heading">SOCIAL PLATFORM</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<p style="font-size: 60px;">
|
||||
<a href="<?=SITE_TWITTER?>"><i class="icon-twitter-circled"></i></a><a href="<?=SITE_FACEBOOK?>"><i class="icon-facebook-circled"></i></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-047c4613c" style="padding-top:110px;padding-bottom:70px;background-color:#e6eef8">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-ec22ff19f one-second valign-top move-up clearfix" style="margin-top:-150px" data-mobile="no-up">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-ac8a0a65e one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" src="/assets/images/insurance3-contact-pic1.jpg">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-10dda93a6 one-second valign-top clearfix" style="padding:0 0 0 4%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-8799a4a0c one column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h6 class="insurance3-heading">Always Here</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2>Partnership, Outsourcing or Consulting</h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
|
||||
We specialize in Linux and all UNIX variants, Microsoft Windows programming using .NET; numerous database servers including Microsoft SQL Server, MySQL, and others; a wide range of languages, including C/C++/C# and PHP with various web servers, including Apache, IIS/ASP.NET, and others.
|
||||
</p>
|
||||
<p>
|
||||
We have produced a wide range of mobile, desktop, and web-based solutions for a diverse set of customers over the past twenty years. If you need a different technology or environment listed either above or in the sample projects described on this site, please contact us!
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="column mcb-column mcb-item-0ad9270b3 one column_button">
|
||||
<a class="button button_size_2 button_theme button_js" href="/services"><span class="button_label">CHECK OUR SERVICES</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-cf63py2da" style="padding-top:110px;padding-bottom:70px;background-color:">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-rbchf3tv7 one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-0jpb3qyfl one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h2>Send us a message</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-3ygm0ssk6 one column_column">
|
||||
<div class="column_attr clearfix align_center" style="padding:0 15%;">
|
||||
<div id="contactWrapper">
|
||||
<form id="contactform" method="POST" action="/contact">
|
||||
<!-- One Second (1/2) Column -->
|
||||
<div class="column one-second">
|
||||
<input placeholder="Your name" type="text" name="name" id="name" size="40" aria-required="true" aria-invalid="false" />
|
||||
</div>
|
||||
<!-- One Second (1/2) Column -->
|
||||
<div class="column one-second">
|
||||
<input placeholder="Your e-mail" type="email" name="email" id="email" size="40" aria-required="true" aria-invalid="false" />
|
||||
</div>
|
||||
<div class="column one">
|
||||
<input placeholder="Subject" type="text" name="subject" id="subject" size="40" aria-invalid="false" />
|
||||
</div>
|
||||
<div class="column one">
|
||||
<textarea placeholder="Message" name="body" id="body" style="width:100%;" rows="10" aria-invalid="false"></textarea>
|
||||
</div>
|
||||
<div class="column one">
|
||||
<input type="submit" value="Send A Message" id="submit" onClick="return check_values();">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,109 @@
|
||||
|
||||
<footer id="Footer" class="clearfix">
|
||||
<div class="widgets_wrapper">
|
||||
<div class="container">
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<h4>Contact us</h4>
|
||||
<div class="textwidget custom-html-widget">
|
||||
<h5 style="margin-bottom: 5px;">Phone</h5>
|
||||
<p>
|
||||
<?=SITE_PHONE?>
|
||||
</p>
|
||||
<h5 style="margin-bottom: 5px;">E-mail</h5>
|
||||
<p>
|
||||
<a href="#"><?=SITE_EMAIL?></a>
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<h4>Our office</h4>
|
||||
<div class="textwidget custom-html-widget">
|
||||
<p>
|
||||
<?=SITE_NAME?>
|
||||
</p>
|
||||
<p>
|
||||
<?=SITE_ADDRL1?>
|
||||
<br><?=SITE_ADDRL2?>
|
||||
<br>
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<h4></h4>
|
||||
<div class="textwidget custom-html-widget">
|
||||
<p>
|
||||
<!-- Fusce ut velit laoreet, tempus . -->
|
||||
</p>
|
||||
<ul>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="/about">About ChiefSoft</a>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="https://blog.chiefsoft.com">Our Blog</a>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="https://www.chiefsoft.net/projects">Client Login</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<div class="textwidget custom-html-widget">
|
||||
<p style="font-size: 30px;">
|
||||
<a href="<?=SITE_TWITTER?>"><i class="icon-twitter-circled"></i></a>
|
||||
<a href="<?=SITE_FACEBOOK?>"><i class="icon-facebook-circled"></i></a>
|
||||
<a href="https://www.f6s.com/olusesanameye?follow=1" title="Follow Olusesan Ameye on F6S"><i style="color:red;"class="icon-facebook-circled"></i></a>
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer_copy">
|
||||
<div class="container">
|
||||
<div class="column one">
|
||||
<a id="back_to_top" class="button button_js" href><i class="icon-up-open-big"></i></a>
|
||||
<div class="copyright">
|
||||
© <a target="_blank" rel="nofollow" href="/"><?=date("Y")?> ChiefSoft Works</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<div id="Side_slide" class="right dark" data->
|
||||
<div class="close-wrapper">
|
||||
<a href="#" class="close"><i class="icon-cancel-fine"></i></a>
|
||||
</div>
|
||||
<div class="extras">
|
||||
<div class="extras-wrapper"></div>
|
||||
</div>
|
||||
<div class="menu_wrapper"></div>
|
||||
</div>
|
||||
<div id="body_overlay"></div>
|
||||
|
||||
|
||||
<!-- JS -->
|
||||
<script src="/assets/js/jquery-2.1.4.min.js"></script>
|
||||
|
||||
<script src="/assets/js/mfn.menu.js"></script>
|
||||
<script src="/assets/js/jquery.plugins.js"></script>
|
||||
<script src="/assets/js/jquery.jplayer.min.js"></script>
|
||||
<script src="/assets/js/animations/animations.js"></script>
|
||||
<script src="/assets/js/translate3d.js"></script>
|
||||
<script src="/assets/js/scripts.js"></script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
<!--[if lt IE 7]><html class="no-js lt-ie10 lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]><html class="no-js lt-ie10 lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]><html class="no-js lt-ie10 lt-ie9"> <![endif]-->
|
||||
<!--[if IE 9]><html class="no-js lt-ie10"> <![endif]-->
|
||||
<!--[if gt IE 8]><!-->
|
||||
<html class="no-js">
|
||||
<!--<![endif]-->
|
||||
|
||||
<head>
|
||||
|
||||
<!-- Basic Page Needs -->
|
||||
<meta charset="utf-8">
|
||||
<title><?=SITE_NAME?>,<?php echo $location->city; ?> Software Development</title>
|
||||
<meta name="description" content= " ChiefSoft Works,over 20 years software development,software developers,custom software development, web and mobile development, QA services. Headquartered in Atlanta, Georgia."/>
|
||||
<meta name="author" content="ChiefSoft Works">
|
||||
|
||||
<!-- Mobile Specific Metas -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
|
||||
<!-- Favicons -->
|
||||
<link rel="shortcut icon" href="/assets/images/favicon.ico">
|
||||
|
||||
<!-- FONTS -->
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Roboto:100,300,400,400italic,700'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Patua+One:100,300,400,400italic,700'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic,900'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=DM+Sans:100,300,400,400italic,500,700,700italic,900'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=DM+Serif+Display:100,300,400,400italic,500,700,700italic,900'>
|
||||
|
||||
<!-- CSS -->
|
||||
<link rel='stylesheet' href='/assets/css/global.css'>
|
||||
<link rel='stylesheet' href='/assets/css/structure.css'>
|
||||
<link rel='stylesheet' href='/assets/css/insurance3.css'>
|
||||
<link rel='stylesheet' href='/assets/css/custom.css'>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="page-template-default page color-custom style-default button-round layout-full-width if-zoom if-border-hide no-content-padding no-shadows header-transparent minimalist-header-no sticky-header sticky-tb-color ab-hide subheader-both-center menu-link-color menuo-no-borders logo-no-margin mobile-tb-hide mobile-side-slide mobile-mini-mr-lc tablet-sticky mobile-sticky ">
|
||||
<div id="Wrapper">
|
||||
<div id="Header_wrapper">
|
||||
<header id="Header">
|
||||
<div id="Top_bar">
|
||||
<div class="container">
|
||||
<div class="column one">
|
||||
<?php
|
||||
include("top_menu.php");
|
||||
?>
|
||||
<div class="top_bar_right">
|
||||
<div class="top_bar_right_wrapper">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
@@ -0,0 +1,528 @@
|
||||
<!DOCTYPE html>
|
||||
<!--[if lt IE 7]><html class="no-js lt-ie10 lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]><html class="no-js lt-ie10 lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]><html class="no-js lt-ie10 lt-ie9"> <![endif]-->
|
||||
<!--[if IE 9]><html class="no-js lt-ie10"> <![endif]-->
|
||||
<!--[if gt IE 8]><!-->
|
||||
<html class="no-js">
|
||||
<!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<?php //echo $location->city; ?>
|
||||
<!-- Basic Page Needs -->
|
||||
<meta charset="utf-8">
|
||||
<title><?= SITE_NAME ?>,<?php echo isset($location->city) ? $location->city : ''; ?> Software Development</title>
|
||||
<meta name="description" content="ChiefSoft Works with 15 years in software development,software developers,custom software development, web and mobile development, QA services. Headquartered in Atlanta, Georgia."/>
|
||||
<meta name="author" content="ChiefSoft Works">
|
||||
|
||||
<!-- Mobile Specific Metas -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
|
||||
<!-- Favicons -->
|
||||
<link rel="shortcut icon" href="/assets/images/favicon.ico">
|
||||
|
||||
<!-- FONTS -->
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Roboto:100,300,400,400italic,700'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Patua+One:100,300,400,400italic,700'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic,900'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=DM+Sans:100,300,400,400italic,500,700,700italic,900'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=DM+Serif+Display:100,300,400,400italic,500,700,700italic,900'>
|
||||
|
||||
<!-- CSS -->
|
||||
<link rel='stylesheet' href='/assets/css/global.css'>
|
||||
<link rel='stylesheet' href='/assets/css/structure.css'>
|
||||
<link rel='stylesheet' href='/assets/css/insurance3.css'>
|
||||
<link rel='stylesheet' href='/assets/css/custom.css'>
|
||||
|
||||
<!-- Revolution Slider -->
|
||||
<link rel="stylesheet" href="/assets/plugins/rs-plugin-6.custom/css/rs6.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body class="home page-template-default page template-slider color-custom style-default button-round layout-full-width if-zoom if-border-hide no-content-padding no-shadows header-transparent minimalist-header-no sticky-header sticky-tb-color ab-hide subheader-both-center menu-link-color menuo-no-borders logo-no-margin mobile-tb-hide mobile-side-slide mobile-mini-mr-lc tablet-sticky mobile-sticky ">
|
||||
<div id="Wrapper">
|
||||
<div id="Header_wrapper">
|
||||
<header id="Header">
|
||||
<div id="Top_bar">
|
||||
<div class="container">
|
||||
<div class="column one">
|
||||
<?php
|
||||
include("top_menu.php");
|
||||
?>
|
||||
<div class="top_bar_right">
|
||||
<div class="top_bar_right_wrapper">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mfn-main-slider" id="mfn-rev-slider">
|
||||
<p class="rs-p-wp-fix"></p>
|
||||
<rs-module-wrap id="rev_slider_1_1_wrapper" data-source="gallery" style="background:transparent;padding:0;margin:0px auto;margin-top:0;margin-bottom:0;">
|
||||
<rs-module id="rev_slider_1_1" style="display:none;" data-version="6.1.2">
|
||||
<rs-slides>
|
||||
<rs-slide data-key="rs-1" data-anim="ei:d;eo:d;s:1000;r:0;t:fade;sl:0;">
|
||||
<img src="/assets/images/chiefsoft-slider-1.jpg" class="rev-slidebg" data-no-retina>
|
||||
<rs-layer id="slider-1-slide-1-layer-2" data-type="text" data-color="#272b5c" data-rsp_ch="on" data-xy="x:110px;y:200px;" data-text="w:normal;s:60;l:70;" data-frame_0="x:50;" data-frame_1="st:200;sp:1000;sR:200;" data-frame_999="o:0;st:w;sR:7800;" style="z-index:9;font-family:DM Serif Display;">
|
||||
Design, Development
|
||||
<br> & Management of
|
||||
<br> Enterprise Solutions
|
||||
</rs-layer>
|
||||
<rs-layer id="slider-1-slide-1-layer-3" data-type="text" data-color="#a8aabe" data-rsp_ch="on" data-xy="x:111px;y:412px;" data-text="w:normal;s:22;l:35;" data-frame_0="x:50;" data-frame_1="st:300;sp:1000;sR:300;" data-frame_999="o:0;st:w;sR:7700;" style="z-index:10;font-family:DM Sans;">
|
||||
We are fully equipped to deliver first-class
|
||||
<br> solution development services. We improve
|
||||
<br> your business efficiency and security at every step.
|
||||
</rs-layer>
|
||||
<a href="/services">
|
||||
<rs-layer id="slider-1-slide-1-layer-4" class="rev-btn" data-type="button" data-color="#272b5c" data-rsp_ch="on" data-xy="x:306px;y:559px;" data-text="w:normal;s:18;l:60;ls:0px;fw:500;" data-dim="minh:0px;" data-padding="r:40;l:40;" data-border="bor:30px,30px,30px,30px;"
|
||||
data-frame_0="x:50;" data-frame_1="st:500;sp:1000;sR:500;" data-frame_999="o:0;st:w;sR:7500;" data-frame_hover="c:#272b5c;bgc:#ced8e5;bor:30px,30px,30px,30px;sp:200;e:Power1.easeInOut;" style="z-index:12;background-color:#e6eef8;font-family:DM Sans;">
|
||||
OUR SERVICES
|
||||
</rs-layer>
|
||||
</a>
|
||||
<a href="/about">
|
||||
<rs-layer id="slider-1-slide-1-layer-5" class="rev-btn" data-type="button" data-color="#ffffff" data-rsp_ch="on" data-xy="x:101px;y:558px;" data-text="w:normal;s:18;l:60;ls:0px;fw:500;" data-dim="minh:0px;" data-padding="r:40;l:40;" data-border="bor:30px,30px,30px,30px;"
|
||||
data-frame_0="x:50;" data-frame_1="st:400;sp:1000;sR:400;" data-frame_999="o:0;st:w;sR:7600;" data-frame_hover="bgc:#111435;bor:30px,30px,30px,30px;sp:200;e:Power1.easeInOut;" style="z-index:11;background-color:#272b5c;font-family:DM Sans;">
|
||||
ABOUT US
|
||||
</rs-layer>
|
||||
</a>
|
||||
</rs-slide>
|
||||
|
||||
</rs-slides>
|
||||
|
||||
|
||||
<rs-progress class="rs-bottom" style="visibility: hidden !important;"></rs-progress>
|
||||
</rs-module>
|
||||
</rs-module-wrap>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<div id="Content">
|
||||
<div class="content_wrapper clearfix">
|
||||
<div class="sections_group">
|
||||
<div class="entry-content">
|
||||
<div class="section mcb-section mcb-section-z569pxvnx" style="padding-top:110px;padding-bottom:110px;background-color:">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-e98u93utt one-fourth valign-top clearfix" style="padding:0 3%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-tdm7aj5sa one column_image">
|
||||
<div class="image_frame image_item scale-with-grid aligncenter no_border hover-disable">
|
||||
<div class="image_wrapper">
|
||||
<a href="#">
|
||||
<div class="mask"></div><img class="scale-with-grid" src="/assets/images/insurance3-home-icon1.png"></a>
|
||||
<div class="image_links ">
|
||||
<a href="#" class="link"><i class="icon-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-ua6kvic9s one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h3>Custom
|
||||
<br> Solutions
|
||||
</h3>
|
||||
<p>
|
||||
Bespoke Solutions, Manage Design & Workflows. Cost-Effective.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-km0sn4j6n one-fourth valign-top clearfix" style="padding:0 3%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-yg89bwogw one column_image">
|
||||
<div class="image_frame image_item scale-with-grid aligncenter no_border hover-disable">
|
||||
<div class="image_wrapper">
|
||||
<a href="#">
|
||||
<div class="mask"></div><img class="scale-with-grid" src="/assets/images/chiefsoft-mobiledev-icon.png"></a>
|
||||
<div class="image_links ">
|
||||
<a href="#" class="link"><i class="icon-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-aa77feapk one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h3>Mobile
|
||||
<br> Applications
|
||||
</h3>
|
||||
<p>
|
||||
App Design, Collaboration, Product Building & Automated testing
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-75qcr7anb one-fourth valign-top clearfix" style="padding:0 3%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-igwfothnd one column_image">
|
||||
<div class="image_frame image_item scale-with-grid aligncenter no_border hover-disable">
|
||||
<div class="image_wrapper">
|
||||
<a href="#">
|
||||
<div class="mask"></div><img class="scale-with-grid" src="/assets/images/insurance3-home-icon3.png"></a>
|
||||
<div class="image_links ">
|
||||
<a href="#" class="link"><i class="icon-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-626rf5lk0 one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h3>Online
|
||||
<br> Security
|
||||
</h3>
|
||||
<p>
|
||||
Security Immersed team of experts for you at all levels of the project.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-9w8o9n48o one-fourth valign-top clearfix" style="padding:0 3%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-jm6anyxht one column_image">
|
||||
<div class="image_frame image_item scale-with-grid aligncenter no_border hover-disable">
|
||||
<div class="image_wrapper">
|
||||
<a href="#">
|
||||
<div class="mask"></div><img class="scale-with-grid" src="/assets/images/chiefsoft-ai-icon.png"></a>
|
||||
<div class="image_links ">
|
||||
<a href="#" class="link"><i class="icon-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-l4npb1o7c one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h3>Artificial
|
||||
<br> Intelligence
|
||||
</h3>
|
||||
<p>
|
||||
Custom AI Solution: Situation analysis, Specific built models.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-wjiyl5j4w" style="padding-top:110px;padding-bottom:70px;background-color:#e6eef8">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-o0zzfcfv1 one-second valign-top clearfix" style="padding:0 4% 0 0">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-eu8cujtqs one column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h6 class="insurance3-heading">ABOUT US</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2>About ChiefSoft</h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
ChiefSoft Works provides expert system design and software consulting services. Whether you are looking to buy or build a software program for your business, our professional systems expert advisory services will include-
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-5c1gcv2zi one column_column column-margin-10px">
|
||||
<div class="column_attr clearfix" style="background-image:url('/assets/images/insurance3-list.png');background-repeat:no-repeat;background-position:left top;padding:0 0 0 45px;">
|
||||
<p style="color: #272b5c;">
|
||||
Your Scenario-Targeted Analysis
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-5c1gcv2zi one column_column column-margin-10px">
|
||||
<div class="column_attr clearfix" style="background-image:url('/assets/images/insurance3-list.png');background-repeat:no-repeat;background-position:left top;padding:0 0 0 45px;">
|
||||
<p style="color: #272b5c;">
|
||||
General & Customized Solutions
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-01gj0ld84 one column_column column-margin-10px">
|
||||
<div class="column_attr clearfix mobile_align_center" style="background-image:url('/assets/images/insurance3-list.png');background-repeat:no-repeat;background-position:left top;padding:0 0 0 45px;">
|
||||
<p style="color: #272b5c;">
|
||||
Transactions & Platform Security
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-xer4vbg70 one column_column">
|
||||
<div class="column_attr clearfix" style="background-image:url('/assets/images/insurance3-list.png');background-repeat:no-repeat;background-position:left top;padding:0 0 0 45px;">
|
||||
<p style="color: #272b5c;">
|
||||
Efficiency, Loyalty and Marketing Goals
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-7mxcewd8r one column_button">
|
||||
<a class="button button_size_2 button_theme button_js" href="/about"><span class="button_label">READ MORE ABOUT US</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-8g8p4dxos one-second valign-top move-up clearfix" style="margin-top:-150px" data-mobile="no-up">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-vmoe0detp one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" src="/assets/images/about-us-home.jpg">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-x4mnvmffb" style="padding-top:110px;padding-bottom:80px;background-color:">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-c7wz6bc4u two-third valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-45zl19vod one column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h2>Technology Blog</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-0a68ujf6p one-third valign-top clearfix" style="padding:10px 0 0">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-lykfyn4yj one column_button">
|
||||
<div class="button_align align_right">
|
||||
<a class="button button_size_2 button_theme button_js" href="/blog"><span class="button_label">VIEW ALL ARTICLES</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-txr96dcf0 one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-sjzk4qkg3 one column_blog_teaser">
|
||||
<div class="blog-teaser ">
|
||||
<ul class="teaser-wrapper">
|
||||
<li class="post-56 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized">
|
||||
<a href="https://blog.chiefsoft.com/category/online-security">
|
||||
|
||||
<div class="photo-wrapper scale-with-grid"><img src="/assets/images/blog-post-security.jpg" class="scale-with-grid wp-post-image" alt>
|
||||
</div>
|
||||
<div class="desc-wrapper">
|
||||
<div class="desc">
|
||||
<div class="post-meta clearfix">
|
||||
<span class="post-date">August 10, 2019</span></span>
|
||||
</div>
|
||||
<div class="post-title">
|
||||
<h3><a href="https://blog.chiefsoft.com/category/online-security">Online Security</a></h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="post-53 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized">
|
||||
<a href="https://blog.chiefsoft.com/category/network/"> <div class="photo-wrapper scale-with-grid"><img src="/assets/images/blog-post-1-1024x1200.jpg" class="scale-with-grid wp-post-image" alt>
|
||||
</div>
|
||||
<div class="desc-wrapper">
|
||||
<div class="desc">
|
||||
<div class="post-meta clearfix">
|
||||
<span class="post-date">November 10, 2019</span></span>
|
||||
</div>
|
||||
<div class="post-title">
|
||||
<h4><a href="https://blog.chiefsoft.com/category/network/">Networking</a></h4>
|
||||
</div>
|
||||
</div>
|
||||
</div></a>
|
||||
</li>
|
||||
<li class="post-51 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized">
|
||||
<a href="https://blog.chiefsoft.com/category/machine-learning/">
|
||||
<div class="photo-wrapper scale-with-grid"><img src="/assets/images/blog-post-1024x1200.jpg" class="scale-with-grid wp-post-image" alt>
|
||||
</div>
|
||||
<div class="desc-wrapper">
|
||||
<div class="desc">
|
||||
<div class="post-meta clearfix">
|
||||
<span class="post-date">October 23, 2019</span></span>
|
||||
</div>
|
||||
<div class="post-title">
|
||||
<h4><a href="https://blog.chiefsoft.com/category/machine-learning/">Artificial intelligence</a></h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-sohxkfeuw full-width bg-cover" style="padding-top:110px;padding-bottom:0px;background-image:url(/assets/images/insurance3-sectionbg1.jpg);background-repeat:no-repeat;background-position:center bottom;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-zfxjf2j4k one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-450wcx60g one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h6 class="insurance3-heading">CONTACT</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2><?= SITE_CONTACT_HEAD ?></h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
<?= SITE_CONTACT_OTHER_TXT ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-znqlqmd79 one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 30px;">
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-8vv2dxcps one column_button">
|
||||
<div class="button_align align_center">
|
||||
<a class="button button_size_2 button_theme button_js" href="/contact"><span class="button_label">CONTACT US NOW</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-nqhwq7woi one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 50px;">
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-i24q0gf1v one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid aligncenter no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" src="/assets/images/insurance3-home-pic2.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer id="Footer" class="clearfix">
|
||||
<div class="widgets_wrapper">
|
||||
<div class="container">
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<h4>Contact us</h4>
|
||||
<div class="textwidget custom-html-widget">
|
||||
<h5 style="margin-bottom: 5px;">Phone</h5>
|
||||
<p>
|
||||
<?= SITE_PHONE ?>
|
||||
</p>
|
||||
<h5 style="margin-bottom: 5px;">E-mail</h5>
|
||||
<p>
|
||||
<a href="#"><?= SITE_EMAIL ?></a>
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<h4>Our office</h4>
|
||||
<div class="textwidget custom-html-widget">
|
||||
<p>
|
||||
<?=SITE_NAME ?>
|
||||
</p>
|
||||
<p>
|
||||
<?=SITE_ADDRL1 ?>
|
||||
<br><?=SITE_ADDRL2 ?>
|
||||
<br>
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<h4></h4>
|
||||
<div class="textwidget custom-html-widget">
|
||||
<p>
|
||||
<!-- Fusce ut velit laoreet, tempus . -->
|
||||
</p>
|
||||
<ul>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="/about">About ChiefSoft</a>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="https://blog.chiefsoft.com">Our Blog</a>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="https://www.chiefsoft.net/projects">Client Login</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<div class="textwidget custom-html-widget">
|
||||
<p style="font-size: 30px;">
|
||||
<a href="<?= SITE_TWITTER ?>"><i class="icon-twitter-circled"></i></a><a href="<?= SITE_FACEBOOK ?>"><i class="icon-facebook-circled"></i></a>
|
||||
<a href="https://www.f6s.com/olusesanameye?follow=1" title="Follow Olusesan Ameye on F6S"><i style="color:red;"class="icon-facebook-circled"></i></a>
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer_copy">
|
||||
<div class="container">
|
||||
<div class="column one">
|
||||
<a id="back_to_top" class="button button_js" href><i class="icon-up-open-big"></i></a>
|
||||
<div class="copyright">
|
||||
© <a target="_blank" rel="nofollow" href="/"><?= date("Y") ?> ChiefSoft Works</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<div id="Side_slide" class="right dark" data->
|
||||
<div class="close-wrapper">
|
||||
<a href="#" class="close"><i class="icon-cancel-fine"></i></a>
|
||||
</div>
|
||||
<div class="extras">
|
||||
<div class="extras-wrapper"></div>
|
||||
</div>
|
||||
<div class="menu_wrapper"></div>
|
||||
</div>
|
||||
<div id="body_overlay"></div>
|
||||
|
||||
|
||||
<!-- JS -->
|
||||
<script src="/assets/js/jquery-2.1.4.min.js"></script>
|
||||
|
||||
<script src="/assets/js/mfn.menu.js"></script>
|
||||
<script src="/assets/js/jquery.plugins.js"></script>
|
||||
<script src="/assets/js/jquery.jplayer.min.js"></script>
|
||||
<script src="/assets/js/animations/animations.js"></script>
|
||||
<script src="/assets/js/translate3d.js"></script>
|
||||
<script src="/assets/js/scripts.js"></script>
|
||||
|
||||
<script src="/assets/plugins/rs-plugin-6.custom/js/revolution.tools.min.js"></script>
|
||||
<script src="/assets/plugins/rs-plugin-6.custom/js/rs6.min.js"></script>
|
||||
|
||||
|
||||
<script>
|
||||
var revapi1, tpj;
|
||||
jQuery(function () {
|
||||
tpj = jQuery;
|
||||
if (tpj("#rev_slider_1_1").revolution == undefined) {
|
||||
revslider_showDoubleJqueryError("#rev_slider_1_1");
|
||||
} else {
|
||||
revapi1 = tpj("#rev_slider_1_1").show().revolution({
|
||||
sliderType: "hero",
|
||||
sliderLayout: "fullwidth",
|
||||
visibilityLevels: "1240,1024,778,480",
|
||||
gridwidth: 1240,
|
||||
gridheight: 900,
|
||||
minHeight: "",
|
||||
spinner: "spinner7",
|
||||
spinnerclr: "#272b5c",
|
||||
editorheight: "900,768,960,720",
|
||||
responsiveLevels: "1240,1024,778,480",
|
||||
disableProgressBar: "on",
|
||||
navigation: {
|
||||
onHoverStop: false
|
||||
},
|
||||
fallbacks: {
|
||||
allowHTML5AutoPlayOnAndroid: true
|
||||
},
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,528 @@
|
||||
<!DOCTYPE html>
|
||||
<!--[if lt IE 7]><html class="no-js lt-ie10 lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]><html class="no-js lt-ie10 lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]><html class="no-js lt-ie10 lt-ie9"> <![endif]-->
|
||||
<!--[if IE 9]><html class="no-js lt-ie10"> <![endif]-->
|
||||
<!--[if gt IE 8]><!-->
|
||||
<html class="no-js">
|
||||
<!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<?php //echo $location->city; ?>
|
||||
<!-- Basic Page Needs -->
|
||||
<meta charset="utf-8">
|
||||
<title><?= SITE_NAME ?>,<?php echo isset($location->city) ? $location->city : ''; ?> Software Development</title>
|
||||
<meta name="description" content="ChiefSoft Works with 15 years in software development,software developers,custom software development, web and mobile development, QA services. Headquartered in Atlanta, Georgia."/>
|
||||
<meta name="author" content="ChiefSoft Works">
|
||||
|
||||
<!-- Mobile Specific Metas -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
|
||||
<!-- Favicons -->
|
||||
<link rel="shortcut icon" href="/assets/images/favicon.ico">
|
||||
|
||||
<!-- FONTS -->
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Roboto:100,300,400,400italic,700'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Patua+One:100,300,400,400italic,700'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic,900'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=DM+Sans:100,300,400,400italic,500,700,700italic,900'>
|
||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=DM+Serif+Display:100,300,400,400italic,500,700,700italic,900'>
|
||||
|
||||
<!-- CSS -->
|
||||
<link rel='stylesheet' href='/assets/css/global.css'>
|
||||
<link rel='stylesheet' href='/assets/css/structure.css'>
|
||||
<link rel='stylesheet' href='/assets/css/insurance3.css'>
|
||||
<link rel='stylesheet' href='/assets/css/custom.css'>
|
||||
|
||||
<!-- Revolution Slider -->
|
||||
<link rel="stylesheet" href="/assets/plugins/rs-plugin-6.custom/css/rs6.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body class="home page-template-default page template-slider color-custom style-default button-round layout-full-width if-zoom if-border-hide no-content-padding no-shadows header-transparent minimalist-header-no sticky-header sticky-tb-color ab-hide subheader-both-center menu-link-color menuo-no-borders logo-no-margin mobile-tb-hide mobile-side-slide mobile-mini-mr-lc tablet-sticky mobile-sticky ">
|
||||
<div id="Wrapper">
|
||||
<div id="Header_wrapper">
|
||||
<header id="Header">
|
||||
<div id="Top_bar">
|
||||
<div class="container">
|
||||
<div class="column one">
|
||||
<?php
|
||||
include("top_menu.php");
|
||||
?>
|
||||
<div class="top_bar_right">
|
||||
<div class="top_bar_right_wrapper">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mfn-main-slider" id="mfn-rev-slider">
|
||||
<p class="rs-p-wp-fix"></p>
|
||||
<rs-module-wrap id="rev_slider_1_1_wrapper" data-source="gallery" style="background:transparent;padding:0;margin:0px auto;margin-top:0;margin-bottom:0;">
|
||||
<rs-module id="rev_slider_1_1" style="display:none;" data-version="6.1.2">
|
||||
<rs-slides>
|
||||
<rs-slide data-key="rs-1" data-anim="ei:d;eo:d;s:1000;r:0;t:fade;sl:0;">
|
||||
<img src="/assets/images/chiefsoft-slider-1.jpg" class="rev-slidebg" data-no-retina>
|
||||
<rs-layer id="slider-1-slide-1-layer-2" data-type="text" data-color="#272b5c" data-rsp_ch="on" data-xy="x:110px;y:200px;" data-text="w:normal;s:60;l:70;" data-frame_0="x:50;" data-frame_1="st:200;sp:1000;sR:200;" data-frame_999="o:0;st:w;sR:7800;" style="z-index:9;font-family:DM Serif Display;">
|
||||
Design, Development
|
||||
<br> & Management of
|
||||
<br> Enterprise Solutions
|
||||
</rs-layer>
|
||||
<rs-layer id="slider-1-slide-1-layer-3" data-type="text" data-color="#a8aabe" data-rsp_ch="on" data-xy="x:111px;y:412px;" data-text="w:normal;s:22;l:35;" data-frame_0="x:50;" data-frame_1="st:300;sp:1000;sR:300;" data-frame_999="o:0;st:w;sR:7700;" style="z-index:10;font-family:DM Sans;">
|
||||
We are fully equipped to deliver first-class
|
||||
<br> solution development services. We improve
|
||||
<br> your business efficiency and security at every step.
|
||||
</rs-layer>
|
||||
<a href="/services">
|
||||
<rs-layer id="slider-1-slide-1-layer-4" class="rev-btn" data-type="button" data-color="#272b5c" data-rsp_ch="on" data-xy="x:306px;y:559px;" data-text="w:normal;s:18;l:60;ls:0px;fw:500;" data-dim="minh:0px;" data-padding="r:40;l:40;" data-border="bor:30px,30px,30px,30px;"
|
||||
data-frame_0="x:50;" data-frame_1="st:500;sp:1000;sR:500;" data-frame_999="o:0;st:w;sR:7500;" data-frame_hover="c:#272b5c;bgc:#ced8e5;bor:30px,30px,30px,30px;sp:200;e:Power1.easeInOut;" style="z-index:12;background-color:#e6eef8;font-family:DM Sans;">
|
||||
OUR SERVICES
|
||||
</rs-layer>
|
||||
</a>
|
||||
<a href="/about">
|
||||
<rs-layer id="slider-1-slide-1-layer-5" class="rev-btn" data-type="button" data-color="#ffffff" data-rsp_ch="on" data-xy="x:101px;y:558px;" data-text="w:normal;s:18;l:60;ls:0px;fw:500;" data-dim="minh:0px;" data-padding="r:40;l:40;" data-border="bor:30px,30px,30px,30px;"
|
||||
data-frame_0="x:50;" data-frame_1="st:400;sp:1000;sR:400;" data-frame_999="o:0;st:w;sR:7600;" data-frame_hover="bgc:#111435;bor:30px,30px,30px,30px;sp:200;e:Power1.easeInOut;" style="z-index:11;background-color:#272b5c;font-family:DM Sans;">
|
||||
ABOUT US
|
||||
</rs-layer>
|
||||
</a>
|
||||
</rs-slide>
|
||||
|
||||
</rs-slides>
|
||||
|
||||
|
||||
<rs-progress class="rs-bottom" style="visibility: hidden !important;"></rs-progress>
|
||||
</rs-module>
|
||||
</rs-module-wrap>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<div id="Content">
|
||||
<div class="content_wrapper clearfix">
|
||||
<div class="sections_group">
|
||||
<div class="entry-content">
|
||||
<div class="section mcb-section mcb-section-z569pxvnx" style="padding-top:110px;padding-bottom:110px;background-color:">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-e98u93utt one-fourth valign-top clearfix" style="padding:0 3%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-tdm7aj5sa one column_image">
|
||||
<div class="image_frame image_item scale-with-grid aligncenter no_border hover-disable">
|
||||
<div class="image_wrapper">
|
||||
<a href="#">
|
||||
<div class="mask"></div><img class="scale-with-grid" src="/assets/images/insurance3-home-icon1.png"></a>
|
||||
<div class="image_links ">
|
||||
<a href="#" class="link"><i class="icon-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-ua6kvic9s one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h3>Custom
|
||||
<br> Solutions
|
||||
</h3>
|
||||
<p>
|
||||
Bespoke Solutions, Manage Design & Workflows. Cost-Effective.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-km0sn4j6n one-fourth valign-top clearfix" style="padding:0 3%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-yg89bwogw one column_image">
|
||||
<div class="image_frame image_item scale-with-grid aligncenter no_border hover-disable">
|
||||
<div class="image_wrapper">
|
||||
<a href="#">
|
||||
<div class="mask"></div><img class="scale-with-grid" src="/assets/images/chiefsoft-mobiledev-icon.png"></a>
|
||||
<div class="image_links ">
|
||||
<a href="#" class="link"><i class="icon-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-aa77feapk one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h3>Mobile
|
||||
<br> Applications
|
||||
</h3>
|
||||
<p>
|
||||
App Design, Collaboration, Product Building & Automated testing
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-75qcr7anb one-fourth valign-top clearfix" style="padding:0 3%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-igwfothnd one column_image">
|
||||
<div class="image_frame image_item scale-with-grid aligncenter no_border hover-disable">
|
||||
<div class="image_wrapper">
|
||||
<a href="#">
|
||||
<div class="mask"></div><img class="scale-with-grid" src="/assets/images/insurance3-home-icon3.png"></a>
|
||||
<div class="image_links ">
|
||||
<a href="#" class="link"><i class="icon-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-626rf5lk0 one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h3>Online
|
||||
<br> Security
|
||||
</h3>
|
||||
<p>
|
||||
Security Immersed team of experts for you at all levels of the project.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-9w8o9n48o one-fourth valign-top clearfix" style="padding:0 3%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-jm6anyxht one column_image">
|
||||
<div class="image_frame image_item scale-with-grid aligncenter no_border hover-disable">
|
||||
<div class="image_wrapper">
|
||||
<a href="#">
|
||||
<div class="mask"></div><img class="scale-with-grid" src="/assets/images/chiefsoft-ai-icon.png"></a>
|
||||
<div class="image_links ">
|
||||
<a href="#" class="link"><i class="icon-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-l4npb1o7c one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h3>Artificial
|
||||
<br> Intelligence
|
||||
</h3>
|
||||
<p>
|
||||
Custom AI Solution: Situation analysis, Specific built models.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-wjiyl5j4w" style="padding-top:110px;padding-bottom:70px;background-color:#e6eef8">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-o0zzfcfv1 one-second valign-top clearfix" style="padding:0 4% 0 0">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-eu8cujtqs one column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h6 class="insurance3-heading">ABOUT US</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2>About ChiefSoft</h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
ChiefSoft Works provides expert system design and software consulting services. Whether you are looking to buy or build a software program for your business, our professional systems expert advisory services will include-
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-5c1gcv2zi one column_column column-margin-10px">
|
||||
<div class="column_attr clearfix" style="background-image:url('/assets/images/insurance3-list.png');background-repeat:no-repeat;background-position:left top;padding:0 0 0 45px;">
|
||||
<p style="color: #272b5c;">
|
||||
Your Scenario-Targeted Analysis
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-5c1gcv2zi one column_column column-margin-10px">
|
||||
<div class="column_attr clearfix" style="background-image:url('/assets/images/insurance3-list.png');background-repeat:no-repeat;background-position:left top;padding:0 0 0 45px;">
|
||||
<p style="color: #272b5c;">
|
||||
General & Customized Solutions
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-01gj0ld84 one column_column column-margin-10px">
|
||||
<div class="column_attr clearfix mobile_align_center" style="background-image:url('/assets/images/insurance3-list.png');background-repeat:no-repeat;background-position:left top;padding:0 0 0 45px;">
|
||||
<p style="color: #272b5c;">
|
||||
Transactions & Platform Security
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-xer4vbg70 one column_column">
|
||||
<div class="column_attr clearfix" style="background-image:url('/assets/images/insurance3-list.png');background-repeat:no-repeat;background-position:left top;padding:0 0 0 45px;">
|
||||
<p style="color: #272b5c;">
|
||||
Efficiency, Loyalty and Marketing Goals
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-7mxcewd8r one column_button">
|
||||
<a class="button button_size_2 button_theme button_js" href="/about"><span class="button_label">READ MORE ABOUT US</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-8g8p4dxos one-second valign-top move-up clearfix" style="margin-top:-150px" data-mobile="no-up">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-vmoe0detp one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" src="/assets/images/about-us-home.jpg">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-x4mnvmffb" style="padding-top:110px;padding-bottom:80px;background-color:">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-c7wz6bc4u two-third valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-45zl19vod one column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h2>Technology Blog</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-0a68ujf6p one-third valign-top clearfix" style="padding:10px 0 0">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-lykfyn4yj one column_button">
|
||||
<div class="button_align align_right">
|
||||
<a class="button button_size_2 button_theme button_js" href="/blog"><span class="button_label">VIEW ALL ARTICLES</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap mcb-wrap mcb-wrap-txr96dcf0 one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-sjzk4qkg3 one column_blog_teaser">
|
||||
<div class="blog-teaser ">
|
||||
<ul class="teaser-wrapper">
|
||||
<li class="post-56 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized">
|
||||
<a href="https://blog.chiefsoft.com/category/online-security">
|
||||
|
||||
<div class="photo-wrapper scale-with-grid"><img src="/assets/images/blog-post-security.jpg" class="scale-with-grid wp-post-image" alt>
|
||||
</div>
|
||||
<div class="desc-wrapper">
|
||||
<div class="desc">
|
||||
<div class="post-meta clearfix">
|
||||
<span class="post-date">August 10, 2019</span></span>
|
||||
</div>
|
||||
<div class="post-title">
|
||||
<h3><a href="https://blog.chiefsoft.com/category/online-security">Online Security</a></h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="post-53 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized">
|
||||
<a href="https://blog.chiefsoft.com/category/network/"> <div class="photo-wrapper scale-with-grid"><img src="/assets/images/blog-post-1-1024x1200.jpg" class="scale-with-grid wp-post-image" alt>
|
||||
</div>
|
||||
<div class="desc-wrapper">
|
||||
<div class="desc">
|
||||
<div class="post-meta clearfix">
|
||||
<span class="post-date">November 10, 2019</span></span>
|
||||
</div>
|
||||
<div class="post-title">
|
||||
<h4><a href="https://blog.chiefsoft.com/category/network/">Networking</a></h4>
|
||||
</div>
|
||||
</div>
|
||||
</div></a>
|
||||
</li>
|
||||
<li class="post-51 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized">
|
||||
<a href="https://blog.chiefsoft.com/category/machine-learning/">
|
||||
<div class="photo-wrapper scale-with-grid"><img src="/assets/images/blog-post-1024x1200.jpg" class="scale-with-grid wp-post-image" alt>
|
||||
</div>
|
||||
<div class="desc-wrapper">
|
||||
<div class="desc">
|
||||
<div class="post-meta clearfix">
|
||||
<span class="post-date">October 23, 2019</span></span>
|
||||
</div>
|
||||
<div class="post-title">
|
||||
<h4><a href="https://blog.chiefsoft.com/category/machine-learning/">Artificial intelligence</a></h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section mcb-section mcb-section-sohxkfeuw full-width bg-cover" style="padding-top:110px;padding-bottom:0px;background-image:url(/assets/images/insurance3-sectionbg1.jpg);background-repeat:no-repeat;background-position:center bottom;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-zfxjf2j4k one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-450wcx60g one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h6 class="insurance3-heading">CONTACT</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2><?= SITE_CONTACT_HEAD ?></h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
<?= SITE_CONTACT_OTHER_TXT ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-znqlqmd79 one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 30px;">
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-8vv2dxcps one column_button">
|
||||
<div class="button_align align_center">
|
||||
<a class="button button_size_2 button_theme button_js" href="/contact"><span class="button_label">CONTACT US NOW</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-nqhwq7woi one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 50px;">
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-i24q0gf1v one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid aligncenter no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" src="/assets/images/insurance3-home-pic2.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer id="Footer" class="clearfix">
|
||||
<div class="widgets_wrapper">
|
||||
<div class="container">
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<h4>Contact us</h4>
|
||||
<div class="textwidget custom-html-widget">
|
||||
<h5 style="margin-bottom: 5px;">Phone</h5>
|
||||
<p>
|
||||
<?= SITE_PHONE ?>
|
||||
</p>
|
||||
<h5 style="margin-bottom: 5px;">E-mail</h5>
|
||||
<p>
|
||||
<a href="#"><?= SITE_EMAIL ?></a>
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<h4>Our office</h4>
|
||||
<div class="textwidget custom-html-widget">
|
||||
<p>
|
||||
<?=SITE_NAME ?>
|
||||
</p>
|
||||
<p>
|
||||
<?=SITE_ADDRL1 ?>
|
||||
<br><?=SITE_ADDRL2 ?>
|
||||
<br>
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<h4></h4>
|
||||
<div class="textwidget custom-html-widget">
|
||||
<p>
|
||||
<!-- Fusce ut velit laoreet, tempus . -->
|
||||
</p>
|
||||
<ul>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="/about">About ChiefSoft</a>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="https://blog.chiefsoft.com">Our Blog</a>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;">
|
||||
<a href="https://www.chiefsoft.net/projects">Client Login</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column one-fourth">
|
||||
<aside class="widget_text widget widget_custom_html">
|
||||
<div class="textwidget custom-html-widget">
|
||||
<p style="font-size: 30px;">
|
||||
<a href="<?= SITE_TWITTER ?>"><i class="icon-twitter-circled"></i></a><a href="<?= SITE_FACEBOOK ?>"><i class="icon-facebook-circled"></i></a>
|
||||
<a href="https://www.f6s.com/olusesanameye?follow=1" title="Follow Olusesan Ameye on F6S"><i style="color:red;"class="icon-facebook-circled"></i></a>
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer_copy">
|
||||
<div class="container">
|
||||
<div class="column one">
|
||||
<a id="back_to_top" class="button button_js" href><i class="icon-up-open-big"></i></a>
|
||||
<div class="copyright">
|
||||
© <a target="_blank" rel="nofollow" href="/"><?= date("Y") ?> ChiefSoft Works</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<div id="Side_slide" class="right dark" data->
|
||||
<div class="close-wrapper">
|
||||
<a href="#" class="close"><i class="icon-cancel-fine"></i></a>
|
||||
</div>
|
||||
<div class="extras">
|
||||
<div class="extras-wrapper"></div>
|
||||
</div>
|
||||
<div class="menu_wrapper"></div>
|
||||
</div>
|
||||
<div id="body_overlay"></div>
|
||||
|
||||
|
||||
<!-- JS -->
|
||||
<script src="/assets/js/jquery-2.1.4.min.js"></script>
|
||||
|
||||
<script src="/assets/js/mfn.menu.js"></script>
|
||||
<script src="/assets/js/jquery.plugins.js"></script>
|
||||
<script src="/assets/js/jquery.jplayer.min.js"></script>
|
||||
<script src="/assets/js/animations/animations.js"></script>
|
||||
<script src="/assets/js/translate3d.js"></script>
|
||||
<script src="/assets/js/scripts.js"></script>
|
||||
|
||||
<script src="/assets/plugins/rs-plugin-6.custom/js/revolution.tools.min.js"></script>
|
||||
<script src="/assets/plugins/rs-plugin-6.custom/js/rs6.min.js"></script>
|
||||
|
||||
|
||||
<script>
|
||||
var revapi1, tpj;
|
||||
jQuery(function () {
|
||||
tpj = jQuery;
|
||||
if (tpj("#rev_slider_1_1").revolution == undefined) {
|
||||
revslider_showDoubleJqueryError("#rev_slider_1_1");
|
||||
} else {
|
||||
revapi1 = tpj("#rev_slider_1_1").show().revolution({
|
||||
sliderType: "hero",
|
||||
sliderLayout: "fullwidth",
|
||||
visibilityLevels: "1240,1024,778,480",
|
||||
gridwidth: 1240,
|
||||
gridheight: 900,
|
||||
minHeight: "",
|
||||
spinner: "spinner7",
|
||||
spinnerclr: "#272b5c",
|
||||
editorheight: "900,768,960,720",
|
||||
responsiveLevels: "1240,1024,778,480",
|
||||
disableProgressBar: "on",
|
||||
navigation: {
|
||||
onHoverStop: false
|
||||
},
|
||||
fallbacks: {
|
||||
allowHTML5AutoPlayOnAndroid: true
|
||||
},
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,179 @@
|
||||
<div id="Content">
|
||||
<div class="content_wrapper clearfix">
|
||||
<div class="sections_group">
|
||||
<div class="entry-content">
|
||||
<div class="section mcb-section mcb-section-afaa818ae bg-cover" style="padding-top:0px;padding-bottom:0px;background-image:url(/assets/images/insurance3-subheader2.jpg);background-repeat:no-repeat;background-position:center bottom;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-6d6ed5bd4 one valign-top clearfix" style="padding:30% 0 10%">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-b3104685d one column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 52% 0 0;">
|
||||
<h2>Our Services</h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
ChiefSoft concentrates in helping to achieve your deliverables through the strategic design ,development or application of custom and retail softwares. We’re focused on helping you achieve and improve your bottom line. </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section mcb-section mcb-section-29b4e165c" style="padding-top:110px;padding-bottom:170px;background-color:#e6eef8">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-6bc4a0c6a one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-1718a7b98 one-second column_column">
|
||||
<div class="column_attr clearfix" style>
|
||||
<h6 class="insurance3-heading">Flexibility</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2>Always creating and growing with focus on quality</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-v78hdc7n4 one-second column_column">
|
||||
<div class="column_attr clearfix" style="padding:65px 0 0;">
|
||||
<p>
|
||||
Your application landscape is dynamic, evolving almost daily. We pay attention to where the web and mobile platform is trending. We're able to ensure our customer's solution benefits from the solution of tomorrow with cost overruns.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-c7gnw5b5f one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 40px;">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="column mcb-column mcb-item-ozaznhxjw one-third column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 3% 0 0;">
|
||||
<h6 class="insurance3-heading3">Custom Solutions</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<p style="color: #272b5c;">
|
||||
With the experience of delivering custom software projects, we provide the best solutions that accelerate workflows, optimize operations, and boost revenues. We provide you with bespoke solutions, comprehend the unique culture of your product, and actualize them via application development, system integration, migration, to mention a few. Thus, branding your solutions specifically to maximize your potential and intent.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="column mcb-column mcb-item-ozaznhxjw one-third column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 3% 0 0;">
|
||||
<h6 class="insurance3-heading3">Big Data</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<p style="color: #272b5c;">
|
||||
We can help you data gathering project, manage projects of massive volume of both structured and unstructured data to build the most profound insight into your goals, thereby, provides access to valuable new information, enabling a custom solution for you and your clients.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="column mcb-column mcb-item-06jbfdosf one-third column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 3% 0 0;">
|
||||
<h6 class="insurance3-heading3">Mobile Application</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<p style="color: #272b5c;">
|
||||
We engage in well-established development practices with state-of-art technologies to create mobile apps to fit your products and their goals, exceeding client expectations. We do substantial research, brainstorming to create a unique applicable product yet, focus on the user experience. ChiefSoft assists app owners in making high-level decisions and guides them through the design, development, and deployment processes.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="column mcb-column mcb-item-06jbfdosf one-third column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 3% 0 0;">
|
||||
<h6 class="insurance3-heading3">Cyber-Security</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<p style="color: #272b5c;">
|
||||
Our expertise provides immersed security, precision compliance, and practical solutions tailored to your business. Hence, protected data.
|
||||
We implement cybersecurity solutions that match your needs and support them with a negligible impact on your users. We provide robust cybersecurity that doesn't handcuff your team's productivity. ChiefSoft merges all patented applications with years of expertise to provide you with top security solutions and metrics as needed.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-u25zok0nh one-third column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 3% 0 0;">
|
||||
<h6 class="insurance3-heading3">Artificial Intelligence</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<p style="color: #272b5c;">
|
||||
We deliver a well-developed solution to improve your products and operations using cut-edge machine learning, Computer Vision, AI-Driven Chatbots, AI Product Development, Data Science & Research. ChiefSoft interprets the human-like experience to boost your operational performance via our created deep learning in development. We take care of all your AI needs by actually designing, building your custom-built models.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="column mcb-column mcb-item-u25zok0nh one-third column_column">
|
||||
<div class="column_attr clearfix" style="padding:0 3% 0 0;">
|
||||
<h6 class="insurance3-heading3">Training</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<p style="color: #272b5c;">
|
||||
ChiefSoft provides training services for small to large-scale business organizations. We offer a complete range of training from IT consulting, software, and hardware services such as business-technology consulting, systems integration, supply chain, Internet and e-business consulting, training, custom application development, re-engineering, and sustenance.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="section mcb-section mcb-section-5ea9e794b" style="padding-top:0px;padding-bottom:70px;background-color:">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-e866de44b one valign-top move-up clearfix" style="margin-top:-100px" data-mobile="no-up">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-21f7a0950 one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" alt="ChiefSoft Services" src="/assets/images/chiefsoft-service.jpg">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section mcb-section mcb-section-20228cf09 full-width bg-cover" style="padding-top:110px;padding-bottom:0px;background-image:url(/assets/images/insurance3-sectionbg1.jpg);background-repeat:no-repeat;background-position:center bottom;">
|
||||
<div class="section_wrapper mcb-section-inner">
|
||||
<div class="wrap mcb-wrap mcb-wrap-f0ad06312 one valign-top clearfix">
|
||||
<div class="mcb-wrap-inner">
|
||||
<div class="column mcb-column mcb-item-c276be2f2 one column_column">
|
||||
<div class="column_attr clearfix align_center" style>
|
||||
<h6 class="insurance3-heading">CONTACT</h6>
|
||||
<hr class="no_line" style="margin: 0 auto 5px;">
|
||||
<h2><?=SITE_CONTACT_HEAD?></h2>
|
||||
<hr class="no_line" style="margin: 0 auto 15px;">
|
||||
<p>
|
||||
<?=SITE_CONTACT_OTHER_TXT?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-2317ba700 one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 30px;">
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-f5a11dd9e one column_button">
|
||||
<div class="button_align align_center">
|
||||
<a class="button button_size_2 button_theme button_js" href="/contact"><span class="button_label">CONTACT US NOW</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-417186898 one column_divider">
|
||||
<hr class="no_line" style="margin: 0 auto 50px;">
|
||||
</div>
|
||||
<div class="column mcb-column mcb-item-57adece96 one column_image">
|
||||
<div class="image_frame image_item no_link scale-with-grid aligncenter no_border">
|
||||
<div class="image_wrapper"><img class="scale-with-grid" src="/assets/images/insurance3-home-pic2.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
//echo $ci->router->fetch_class();
|
||||
$current_page = isset($this_page_name)? $this_page_name:'';
|
||||
|
||||
$selected_class = " class=\"current-menu-item\" ";
|
||||
$p1=$p2=$p3=$p4=$p5=$p6='';
|
||||
|
||||
switch($current_page){
|
||||
|
||||
case '':
|
||||
case 'home':
|
||||
$p1 = $selected_class;
|
||||
break;
|
||||
|
||||
case 'about':
|
||||
$p2 = $selected_class;
|
||||
break;
|
||||
|
||||
case 'services':
|
||||
$p3 = $selected_class;
|
||||
break;
|
||||
|
||||
case 'blog':
|
||||
$p4 = $selected_class;
|
||||
break;
|
||||
|
||||
case 'contact':
|
||||
$p5 = $selected_class;
|
||||
break;
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="top_bar_left clearfix">
|
||||
<div class="logo">
|
||||
<a id="logo" href="/" data-padding="30"><img class="logo-main scale-with-grid" src="/assets/images/chiefsoft-lg.png" data-retina="/assets/images/chiefsoft-lg2.png" data-no-retina><img class="logo-sticky scale-with-grid" src="/assets/images/chiefsoft-lg.png" data-retina="/assets/images/chiefsoft-lg2.png" data-no-retina><img class="logo-mobile scale-with-grid" src="/assets/images/chiefsoft-lg.png" data-retina="/assets/images/chiefsoft-lg2.png" data-no-retina><img class="logo-mobile-sticky scale-with-grid" src="/assets/images/chiefsoft-lg.png" data-retina="/assets/images/chiefsoft-lg2.png" data-no-retina></a>
|
||||
</div>
|
||||
<div class="menu_wrapper">
|
||||
<nav id="menu">
|
||||
<ul id="menu-main-menu" class="menu menu-main">
|
||||
<li <?php echo $p1; ?>>
|
||||
<a href="/"><span>HOME</span></a>
|
||||
</li>
|
||||
<li <?php echo $p2; ?>>
|
||||
<a href="/about"><span>ABOUT</span></a>
|
||||
</li>
|
||||
<li <?php echo $p3; ?>>
|
||||
<a href="/services"><span>SERVICES</span></a>
|
||||
</li>
|
||||
<li <?php echo $p4; ?>>
|
||||
<a href="/blog"><span>BLOG</span></a>
|
||||
</li>
|
||||
<li <?php echo $p5; ?>>
|
||||
<a href="/contact"><span>CONTACT</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav><a class="responsive-menu-toggle " href="#"><i class="icon-menu-fine"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user