+
+
\ No newline at end of file
diff --git a/composer.json b/composer.json
new file mode 100644
index 00000000..a732e4a2
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,31 @@
+{
+ "description": "The CodeIgniter framework",
+ "name": "codeigniter/framework",
+ "type": "project",
+ "homepage": "https://codeigniter.com",
+ "license": "MIT",
+ "support": {
+ "forum": "http://forum.codeigniter.com/",
+ "wiki": "https://github.com/bcit-ci/CodeIgniter/wiki",
+ "slack": "https://codeigniterchat.slack.com",
+ "source": "https://github.com/bcit-ci/CodeIgniter"
+ },
+ "require": {
+ "php": ">=5.3.7",
+ "google/apiclient": "^2.0"
+ },
+ "suggest": {
+ "paragonie/random_compat": "Provides better randomness in PHP 5.x"
+ },
+ "require-dev": {
+ "mikey179/vfsstream": "1.1.*",
+ "phpunit/phpunit": "4.* || 5.*"
+ },
+ "autoload": {
+ "psr-4": {
+ "Common\\": "Common/",
+ "SmartUI\\": "lib/smartui/"
+ }
+ }
+
+}
diff --git a/credentials.json b/credentials.json
new file mode 100644
index 00000000..bce8651f
--- /dev/null
+++ b/credentials.json
@@ -0,0 +1 @@
+{"web":{"client_id":"757586711309-lmhhl49m6o1kfs3qdm6ruhkudik3nk46.apps.googleusercontent.com","project_id":"backup-astral1","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"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","javascript_origins":["https://ms1crmdev.progiweb.net"]}}
\ No newline at end of file
diff --git a/index.php b/index.php
new file mode 100644
index 00000000..68399a2e
--- /dev/null
+++ b/index.php
@@ -0,0 +1,323 @@
+='))
+ {
+ error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
+ }
+ else
+ {
+ error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_USER_NOTICE);
+ }
+ break;
+
+ default:
+ header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
+ echo 'The application environment is not set correctly.';
+ exit(1); // EXIT_ERROR
+}
+
+/*
+ *---------------------------------------------------------------
+ * SYSTEM DIRECTORY NAME
+ *---------------------------------------------------------------
+ *
+ * This variable must contain the name of your "system" directory.
+ * Set the path if it is not in the same directory as this file.
+ */
+ $system_path = 'system';
+
+/*
+ *---------------------------------------------------------------
+ * APPLICATION DIRECTORY NAME
+ *---------------------------------------------------------------
+ *
+ * If you want this front controller to use a different "application"
+ * directory than the default one you can set its name here. The directory
+ * can also be renamed or relocated anywhere on your server. If you do,
+ * use an absolute (full) server path.
+ * For more info please see the user guide:
+ *
+ * https://codeigniter.com/user_guide/general/managing_apps.html
+ *
+ * NO TRAILING SLASH!
+ */
+ $application_folder = 'application';
+
+/*
+ *---------------------------------------------------------------
+ * VIEW DIRECTORY NAME
+ *---------------------------------------------------------------
+ *
+ * If you want to move the view directory out of the application
+ * directory, set the path to it here. The directory can be renamed
+ * and relocated anywhere on your server. If blank, it will default
+ * to the standard location inside your application directory.
+ * If you do move this, use an absolute (full) server path.
+ *
+ * NO TRAILING SLASH!
+ */
+ $view_folder = '';
+
+
+/*
+ * --------------------------------------------------------------------
+ * DEFAULT CONTROLLER
+ * --------------------------------------------------------------------
+ *
+ * Normally you will set your default controller in the routes.php file.
+ * You can, however, force a custom routing by hard-coding a
+ * specific controller class/function here. For most applications, you
+ * WILL NOT set your routing here, but it's an option for those
+ * special instances where you might want to override the standard
+ * routing in a specific front controller that shares a common CI installation.
+ *
+ * IMPORTANT: If you set the routing here, NO OTHER controller will be
+ * callable. In essence, this preference limits your application to ONE
+ * specific controller. Leave the function name blank if you need
+ * to call functions dynamically via the URI.
+ *
+ * Un-comment the $routing array below to use this feature
+ */
+ // The directory name, relative to the "controllers" directory. Leave blank
+ // if your controller is not in a sub-directory within the "controllers" one
+ // $routing['directory'] = '';
+
+ // The controller class file name. Example: mycontroller
+ // $routing['controller'] = '';
+
+ // The controller function you wish to be called.
+ // $routing['function'] = '';
+
+
+/*
+ * -------------------------------------------------------------------
+ * CUSTOM CONFIG VALUES
+ * -------------------------------------------------------------------
+ *
+ * The $assign_to_config array below will be passed dynamically to the
+ * config class when initialized. This allows you to set custom config
+ * items or override any default config values found in the config.php file.
+ * This can be handy as it permits you to share one application between
+ * multiple front controller files, with each file containing different
+ * config values.
+ *
+ * Un-comment the $assign_to_config array below to use this feature
+ */
+ // $assign_to_config['name_of_config_item'] = 'value of config item';
+
+
+
+// --------------------------------------------------------------------
+// END OF USER CONFIGURABLE SETTINGS. DO NOT EDIT BELOW THIS LINE
+// --------------------------------------------------------------------
+
+/*
+ * ---------------------------------------------------------------
+ * Resolve the system path for increased reliability
+ * ---------------------------------------------------------------
+ */
+
+ // Set the current directory correctly for CLI requests
+ if (defined('STDIN'))
+ {
+ chdir(dirname(__FILE__));
+ }
+
+ if (($_temp = realpath($system_path)) !== FALSE)
+ {
+ $system_path = $_temp.DIRECTORY_SEPARATOR;
+ }
+ else
+ {
+ // Ensure there's a trailing slash
+ $system_path = strtr(
+ rtrim($system_path, '/\\'),
+ '/\\',
+ DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
+ ).DIRECTORY_SEPARATOR;
+ }
+
+ // Is the system path correct?
+ if ( ! is_dir($system_path))
+ {
+ header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
+ echo 'Your system folder path does not appear to be set correctly. Please open the following file and correct this: '.pathinfo(__FILE__, PATHINFO_BASENAME);
+ exit(3); // EXIT_CONFIG
+ }
+
+/*
+ * -------------------------------------------------------------------
+ * Now that we know the path, set the main path constants
+ * -------------------------------------------------------------------
+ */
+ // The name of THIS file
+ define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
+
+ // Path to the system directory
+ define('BASEPATH', $system_path);
+
+ // Path to the front controller (this file) directory
+ define('FCPATH', dirname(__FILE__).DIRECTORY_SEPARATOR);
+
+ // Name of the "system" directory
+ define('SYSDIR', basename(BASEPATH));
+
+ // The path to the "application" directory
+ if (is_dir($application_folder))
+ {
+ if (($_temp = realpath($application_folder)) !== FALSE)
+ {
+ $application_folder = $_temp;
+ }
+ else
+ {
+ $application_folder = strtr(
+ rtrim($application_folder, '/\\'),
+ '/\\',
+ DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
+ );
+ }
+ }
+ elseif (is_dir(BASEPATH.$application_folder.DIRECTORY_SEPARATOR))
+ {
+ $application_folder = BASEPATH.strtr(
+ trim($application_folder, '/\\'),
+ '/\\',
+ DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
+ );
+ }
+ else
+ {
+ header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
+ echo 'Your application folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
+ exit(3); // EXIT_CONFIG
+ }
+
+ define('APPPATH', $application_folder.DIRECTORY_SEPARATOR);
+
+ // The path to the "views" directory
+ if ( ! isset($view_folder[0]) && is_dir(APPPATH.'views'.DIRECTORY_SEPARATOR))
+ {
+ $view_folder = APPPATH.'views';
+ }
+ elseif (is_dir($view_folder))
+ {
+ if (($_temp = realpath($view_folder)) !== FALSE)
+ {
+ $view_folder = $_temp;
+ }
+ else
+ {
+ $view_folder = strtr(
+ rtrim($view_folder, '/\\'),
+ '/\\',
+ DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
+ );
+ }
+ }
+ elseif (is_dir(APPPATH.$view_folder.DIRECTORY_SEPARATOR))
+ {
+ $view_folder = APPPATH.strtr(
+ trim($view_folder, '/\\'),
+ '/\\',
+ DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
+ );
+ }
+ else
+ {
+ header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
+ echo 'Your view folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
+ exit(3); // EXIT_CONFIG
+ }
+
+ define('VIEWPATH', $view_folder.DIRECTORY_SEPARATOR);
+
+/*
+ * --------------------------------------------------------------------
+ * LOAD THE BOOTSTRAP FILE
+ * --------------------------------------------------------------------
+ *
+ * And away we go...
+ */
+
+require_once BASEPATH.'core/CodeIgniter.php';
+
diff --git a/init.php b/init.php
new file mode 100644
index 00000000..ba9d3c7d
--- /dev/null
+++ b/init.php
@@ -0,0 +1,73 @@
+ $value) {
+ if ($value) $argv[] = $value;
+ }
+}
+
+if (Common\Util::is_cli()) {
+ $document_root = realpath(isset($argv[1]) && is_dir($argv[1]) ? $argv[1] : dirname(__DIR__));
+ $server_name = gethostname();
+ $request_uri = str_replace(DS, '/', substr($_SERVER['PHP_SELF'], strlen($document_root)));
+} else {
+ $document_root = realpath($_SERVER['DOCUMENT_ROOT']);
+ $server_name = $_SERVER['HTTP_HOST'];
+ $request_uri = $_SERVER['REQUEST_URI'];
+}
+
+$document_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on' ? 'https' : 'http').'://'.$server_name;
+
+$app_path = $document_root;
+$app_url = $document_url;
+
+if (strpos(__DIR__, $document_root) === 0) {
+ $app_uri = substr(__DIR__, strlen($document_root));
+ $app_path .= $app_uri;
+ $app_url .= str_replace(DS, '/', $app_uri);
+}
+
+define('DOCUMENT_ROOT', $document_root);
+define('SERVER_NAME', $server_name);
+define('SERVER_URL', $document_url);
+define('SERVER_REQUEST', $document_url.$request_uri);
+
+define('APP_PATH', $app_path);
+define('APP_URL', $app_url);
+
+//Assets URL, location of your css, img, js, etc. files
+define('ASSETS_URL', APP_URL);
+define('ASSETS_PATH', APP_PATH);
+
+// configure global constants
+// define('APP_TMP_PATH', APP_PATH.DS.'tmp');
+// define('APP_TMP_URL', APP_URL.'/tmp');
+
+// global functions
+require_once __DIR__.'/lib/func.php';
+require_once __DIR__.'/lib/config.php';
+
+// configure SmartUI
+\SmartUI\UI::$icon_source = 'fa';
+
+// register our UI plugins
+\SmartUI\UI::register('widget', 'SmartUI\Components\Widget');
+\SmartUI\UI::register('datatable', 'SmartUI\Components\DataTable');
+\SmartUI\UI::register('button', 'SmartUI\Components\Button');
+\SmartUI\UI::register('tab', 'SmartUI\Components\Tab');
+\SmartUI\UI::register('accordion', 'SmartUI\Components\Accordion');
+\SmartUI\UI::register('carousel', 'SmartUI\Components\Carousel');
+\SmartUI\UI::register('smartform', 'SmartUI\Components\SmartForm');
+\SmartUI\UI::register('nav', 'SmartUI\Components\Nav');
+
+$_ui = new \SmartUI\UI();
\ No newline at end of file
diff --git a/init.web.php b/init.web.php
new file mode 100644
index 00000000..96047115
--- /dev/null
+++ b/init.web.php
@@ -0,0 +1,145 @@
+ "URL");
+$breadcrumbs = array(
+ "Home" => APP_URL
+);
+
+/*navigation array config
+
+ex:
+"dashboard" => array(
+ "title" => "Display Title",
+ "url" => "http://yoururl.com",
+ "url_target" => "_self",
+ "icon" => "fa-home",
+ "label_htm" => "Add your custom label/badge html here",
+ "sub" => array() //contains array of sub items with the same format as the parent
+)
+
+*/
+
+$page_nav = array(
+ "dash1" => array(
+ "title" => "Tableaux de bord",
+ "icon" => "fa-dashboard",
+ "url" => APP_URL."/index.php/Home"
+
+ ),
+ "dash5" => array(
+ "title" => "Tâches",
+ "icon" => "fa-square",
+ "url" => APP_URL."/index.php/projets/list_taches"
+
+ ),
+ "dash4" => array(
+ "title" => "Tâches Projets",
+ "icon" => "fa-square",
+ "url" => APP_URL."/index.php/TachesProjets"
+
+ ),
+ "dash3" => array(
+ "title" => "Départs à venir",
+ "icon" => "fa-square",
+ "url" => APP_URL."/index.php/projets/depart"
+
+ ),
+
+ "vide" => array(
+ "title" => ""
+
+ ),
+ "clients" => array(
+ "title" => "Clients",
+ "icon" => "fa-pencil-square-o",
+ "url" => APP_URL."/index.php/clients"
+
+),
+ "fournisseurs" => array(
+ "title" => "Fournisseurs",
+ "icon" => "fa-pencil-square-o",
+ "url" => APP_URL."/index.php/fournisseurs"
+
+ ),
+ "fournisseursprojets" => array(
+ "title" => "Fournisseurs / Projets",
+ "icon" => "fa-pencil-square-o",
+ "url" => APP_URL."/index.php/Fournisseursprojets"
+
+ ),
+ "produits" => array(
+ "title" => "Produits",
+ "icon" => "fa-pencil-square-o",
+ "url" => APP_URL."/index.php/produits"
+
+ ),
+ "vide2" => array(
+ "title" => ""
+
+ ),
+ "projets" => array(
+ "title" => "Projets",
+ "icon" => "fa-suitcase",
+ "url" => APP_URL."/index.php/projets"
+
+ )
+,
+ "paiement" => array(
+ "title" => "Paiements",
+ "icon" => " fa-dollar",
+ "url" => APP_URL."/index.php/paiements"
+
+ )
+,
+
+
+ "lot" => array(
+ "title" => "Lot",
+ "icon" => "fa-envelope-o",
+ "url" => APP_URL."/index.php/lots"
+
+ )
+,
+
+
+ "user" => array(
+ "title" => "Utilisateur",
+ "icon" => "fa-user",
+ "url" => APP_URL."/index.php/user"
+
+ )
+
+,
+
+
+ "inventaireitem" => array(
+ "title" => "items",
+ "icon" => "fa-pencil-square-o",
+ "url" => APP_URL."/v4/dynamic/list/inventaire"
+
+ )
+,
+
+
+ "inventaire" => array(
+ "title" => "items Par Localication",
+ "icon" => "fa-pencil-square-o",
+ "url" => APP_URL."/v4/dynamic/list/inventaire_stock"
+
+ )
+);
+
+//configuration variables
+$page_title = "";
+$page_css = array();
+$no_main_header = false; //set true for lock.php and login.php
+$page_body_prop = array(); //optional properties for
+$page_html_prop = array(); //optional properties for
+?>
\ No newline at end of file
diff --git a/phpinfo.php b/phpinfo.php
new file mode 100644
index 00000000..952fc633
--- /dev/null
+++ b/phpinfo.php
@@ -0,0 +1,8 @@
+`_ page.
+
+**************************
+Changelog and New Features
+**************************
+
+You can find a list of all changes for each release in the `user
+guide change log `_.
+
+*******************
+Server Requirements
+*******************
+
+PHP version 5.6 or newer is recommended.
+
+It should work on 5.3.7 as well, but we strongly advise you NOT to run
+such old versions of PHP, because of potential security and performance
+issues, as well as missing features.
+
+************
+Installation
+************
+
+Please see the `installation section `_
+of the CodeIgniter User Guide.
+
+*******
+License
+*******
+
+Please see the `license
+agreement `_.
+
+*********
+Resources
+*********
+
+- `User Guide `_
+- `Language File Translations `_
+- `Community Forums `_
+- `Community Wiki `_
+- `Community Slack Channel `_
+
+Report security issues to our `Security Panel `_
+or via our `page on HackerOne `_, thank you.
+
+***************
+Acknowledgement
+***************
+
+The CodeIgniter team would like to thank EllisLab, all the
+contributors to the CodeIgniter project and you, the CodeIgniter user.
diff --git a/session_test.php b/session_test.php
new file mode 100644
index 00000000..71a1c079
--- /dev/null
+++ b/session_test.php
@@ -0,0 +1,2 @@
+
+
+
+