Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Inspinia_ci3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diery
Inspinia_ci3
Commits
8db6b42f
Commit
8db6b42f
authored
4 months ago
by
diery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
a47b3644
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
3958 additions
and
1 deletion
+3958
-1
inspinia_ci3.sql
BD/inspinia_ci3.sql
+715
-0
database.php
application/config/database.php
+1
-1
C_sys_menu.php
application/controllers/sys/C_sys_menu.php
+97
-0
C_sys_niits.php
application/controllers/sys/C_sys_niits.php
+57
-0
C_sys_profil.php
application/controllers/sys/C_sys_profil.php
+146
-0
C_sys_role.php
application/controllers/sys/C_sys_role.php
+75
-0
C_sys_stagiaire.php
application/controllers/sys/C_sys_stagiaire.php
+74
-0
C_sys_user.php
application/controllers/sys/C_sys_user.php
+174
-0
MY_Controller.php
application/core/MY_Controller.php
+30
-0
MY_Model.php
application/core/MY_Model.php
+301
-0
MY_Model_Interface.php
application/core/MY_Model_Interface.php
+5
-0
ssp.customized.class.php
application/core/ssp.customized.class.php
+410
-0
M_sys_menu.php
application/models/sys/M_sys_menu.php
+51
-0
M_sys_niits.php
application/models/sys/M_sys_niits.php
+34
-0
M_sys_profil.php
application/models/sys/M_sys_profil.php
+37
-0
M_sys_role.php
application/models/sys/M_sys_role.php
+222
-0
M_sys_sous_menu.php
application/models/sys/M_sys_sous_menu.php
+74
-0
M_sys_user.php
application/models/sys/M_sys_user.php
+98
-0
left_sidebar_copy.php
application/views/left_sidebar_copy.php
+162
-0
V_list_menu.php
application/views/sys/V_list_menu.php
+128
-0
V_list_sous_menu.php
application/views/sys/V_list_sous_menu.php
+141
-0
V_sys_menu.php
application/views/sys/V_sys_menu.php
+90
-0
V_sys_profil.php
application/views/sys/V_sys_profil.php
+246
-0
V_sys_role.php
application/views/sys/V_sys_role.php
+269
-0
V_sys_user.php
application/views/sys/V_sys_user.php
+321
-0
No files found.
BD/inspinia_ci3.sql
0 → 100644
View file @
8db6b42f
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1
-- Généré le : mer. 20 nov. 2024 à 11:50
-- Version du serveur : 10.4.24-MariaDB
-- Version de PHP : 7.4.29
SET
SQL_MODE
=
"NO_AUTO_VALUE_ON_ZERO"
;
START
TRANSACTION
;
SET
time_zone
=
"+00:00"
;
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */
;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */
;
/*!40101 SET NAMES utf8mb4 */
;
--
-- Base de données : `inspinia_ci3`
--
-- --------------------------------------------------------
--
-- Structure de la table `personnel`
--
CREATE
TABLE
`personnel`
(
`id`
bigint
(
20
)
NOT
NULL
,
`ien`
varchar
(
8
)
NOT
NULL
,
`prenom`
varchar
(
100
)
NOT
NULL
,
`nom`
varchar
(
50
)
NOT
NULL
,
`code_str`
bigint
(
20
)
NOT
NULL
,
`email`
varchar
(
100
)
NOT
NULL
,
`avatar`
text
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
--
-- Déchargement des données de la table `personnel`
--
INSERT
INTO
`personnel`
(
`id`
,
`ien`
,
`prenom`
,
`nom`
,
`code_str`
,
`email`
,
`avatar`
)
VALUES
(
1
,
'784ABJRB'
,
'MAMADOU'
,
'SONKO'
,
1186970740
,
'mamadou.sonko2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
2
,
'478DVE77'
,
'Mounirou'
,
'SONKO'
,
1094533540
,
'mounirou.sonko@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
3
,
'879W9RJD'
,
'Ismaila'
,
'DIEME'
,
1186970740
,
'ismaila.dieme3@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
4
,
'947BABJT'
,
'Demba Yankhoba'
,
'SALL'
,
1563582550
,
'dembayankhoba.sall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
5
,
'733NY38C'
,
'Cheikh Tidiane'
,
'MBAYE'
,
1174469590
,
'cheikhtidiane.mbaye@education.sn'
,
'https://apps.education.sn/images/profil/277b99b53552ab772a834d60d3bb7a66.jpeg'
),
(
6
,
'433J4MAT'
,
'Khassim'
,
'BA'
,
1544151360
,
'khassim.ba@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
7
,
'737NRUYC'
,
'ALIOUNE BADARA'
,
'DIALLO'
,
1770461530
,
'aliounebadara.diallo@education.sn'
,
'https://apps.education.sn/images/profil/6295547622311b39ea98078a216aa287.jpeg'
),
(
8
,
'468VMDWJ'
,
'Abdou Rahmane'
,
'Diouf'
,
1579405730
,
'abdourahmane.diouf1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
9
,
'488P8X44'
,
'Avelino Cyrille'
,
'PEREIRA'
,
1579405730
,
'avelinocyrille.pereira@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
10
,
'736WQB3J'
,
'el hadji fallou'
,
'dieng'
,
1579405730
,
'elhadji.dieng8@education.sn'
,
'https://apps.education.sn/images/profil/ebcfc7cf1409d68ea50ea349e705cf3f.jpeg'
),
(
11
,
'378H6QTA'
,
'Ndiawar abdoulaye'
,
'Teuw'
,
1174469590
,
'ndiawarabdoulaye.teuw@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
12
,
'337RV4GT'
,
'Bakary'
,
'BODIAN'
,
1432067520
,
'bakary.bodian@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
13
,
'733ED6QF'
,
'LANSANA'
,
'SAGNA'
,
1186970740
,
'lansana.sagna@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
14
,
'498M8KJ8'
,
'Edouard Bérenger'
,
'MANGA'
,
1579405730
,
'edouardberenger.manga1@education.sn'
,
'https://apps.education.sn/images/profil/5053dd7d3e004b9c8945bd5698842000.jpeg'
),
(
15
,
'363FJXYV'
,
'Ibrahima'
,
'DIATTA'
,
1050362770
,
'ibrahima.diatta@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
16
,
'897VMJJN'
,
'fallou'
,
'sarr'
,
1432067520
,
'fallou.sarr@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
17
,
'967NRQDT'
,
'DAOUDA'
,
'THIAW'
,
1538921320
,
'daouda.thiaw@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
18
,
'637UX6EV'
,
'Souleye'
,
'Faye'
,
1553748820
,
'souleye.faye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
19
,
'947WTB8A'
,
'ousmane'
,
'DIAGNE'
,
1553748820
,
'ousmane.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
20
,
'984QP4JD'
,
'Mamadou Moustapha'
,
'Diallo'
,
1553748820
,
'mamadoumoustapha.diallo@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
21
,
'694AGDJ7'
,
'Jean Mathieu'
,
'Badji'
,
1982782740
,
'jeanmathieu.badji@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
22
,
'696NMNMA'
,
'Ousmane'
,
'FAYE'
,
1579405730
,
'ousmane.faye59@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
23
,
'698VFJ3G'
,
'Papa Demba'
,
'Sy'
,
1544151360
,
'papademba.sy@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
24
,
'849U9FB3'
,
'Abdoul Aziz'
,
'GUEYE'
,
1130379380
,
'abdoulaziz.gueye@education.sn'
,
'https://apps.education.sn/images/profil/f59454e56341bc230941d09c453309c4.jpeg'
),
(
25
,
'447DPC4N'
,
'Omar'
,
'THIAM'
,
1538921320
,
'omar.thiam1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
26
,
'667U8KCE'
,
'JOSEPH'
,
'BIAYE'
,
1866441510
,
'joseph.biaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
27
,
'474VW6UU'
,
'Nestor'
,
'SAGNA'
,
1115779360
,
'nestor.sagna@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
28
,
'963DEJ6K'
,
'Papa'
,
'KANDJI'
,
1866441510
,
'papa.kandji@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
29
,
'476N9CY8'
,
'Papa Madiamboye'
,
'TALL'
,
1579405730
,
'papamadiamboye.tall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
30
,
'683DYTUN'
,
'Elhadji Babacar'
,
'NIANG'
,
1544151360
,
'elhadjibabacar.niang@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
31
,
'649JRP49'
,
'Demba'
,
'MENDY'
,
1982782740
,
'demba.mendy@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
32
,
'898V6WUR'
,
'MAHAMADOU LAMINE'
,
'BARRO'
,
1562092850
,
'mahamadoulamine.barro@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
33
,
'347YN66J'
,
'serigne bamba'
,
'toure'
,
1111789570
,
'serignebamba.toure@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
34
,
'343VHHEW'
,
'LAMINE'
,
'DIEME'
,
1538921320
,
'lamine.dieme@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
35
,
'387KA7WN'
,
'Ousmane'
,
'LABOU'
,
1770461530
,
'ousmane.labou@education.sn'
,
'https://apps.education.sn/images/profil/22bf9b07c11bdac05e08d8b750041753.jpeg'
),
(
36
,
'646RTHK3'
,
'Papa Ndiaga'
,
'Diome'
,
1544151360
,
'papandiaga.diome@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
37
,
'479PYRCH'
,
'Malick'
,
'Dione'
,
1982782740
,
'malick.dione3@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
38
,
'856OS0XE'
,
'BAKARY AINENY'
,
'SANE'
,
0
,
'bakaryaineny.sane@education.sn'
,
'https://apps.education.sn/images/profil/228111f6f1400a12d17fd7d3c8e368a2.jpeg'
),
(
39
,
'893TR7WE'
,
'Amadou Mamadou'
,
'SALL'
,
1544151360
,
'amadoumamadou.sall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
40
,
'676VAGX7'
,
'Toumany'
,
'SANKHARE'
,
1872351910
,
'toumany.sankhare@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
41
,
'639TGM4K'
,
'Abdallah'
,
'Sow'
,
1478898750
,
'abdallah.sow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
42
,
'784YX7XB'
,
'Malamine Sakho'
,
'SADIO'
,
1553748820
,
'malaminesakho.sadio@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
43
,
'677V8K7N'
,
'Ousmane'
,
'KEITA'
,
1579405730
,
'ousmane.keita@education.sn'
,
'https://apps.education.sn/images/profil/f54a63caa429291b4813b2a7c57330be.jpeg'
),
(
44
,
'644K7GC9'
,
'ALIOU'
,
'THIAW'
,
1115779360
,
'aliou.thiaw2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
45
,
'799NHUNA'
,
'Abdou'
,
'THIAO'
,
1493742260
,
'abdou.thiao@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
46
,
'497QDDYM'
,
'SEYDOU'
,
'DIALLO'
,
1186970740
,
'seydou.diallo@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
47
,
'644KEFFT'
,
'Modou'
,
'Gueye'
,
1982782740
,
'modou.gueye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
48
,
'779CVCY3'
,
'Mor'
,
'DIOUM'
,
1544151360
,
'mor.dioum@education.sn'
,
'https://apps.education.sn/images/profil/88fa165805cc0bb77f3df943e53f208a.jpeg'
),
(
49
,
'368GNV7T'
,
'Abdou'
,
'Sene'
,
1538921320
,
'abdou.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
50
,
'789QRDYG'
,
'mame libasse'
,
'ka'
,
1982782740
,
'mamelibasse.ka@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
51
,
'844Q9DDH'
,
'MAMADOU MBENDA'
,
'FALL'
,
1538921320
,
'mamadoumbenda.fall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
52
,
'W6WDBX5Q'
,
'Idrissa'
,
'Ndiaye'
,
0
,
'idrissa.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/11f91046a84bc7700fa590b57c671cca.jpeg'
),
(
53
,
'394EPXP8'
,
'ALY'
,
'BADIANE'
,
1094533540
,
'aly.badiane@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
54
,
'783DA4XF'
,
'Amadou Bocar'
,
'GUEYE'
,
1186970740
,
'amadoubocar.gueye@education.sn'
,
'https://apps.education.sn/images/profil/e51a5f8c58df5b19cc7dee77b43e4f0e.jpeg'
),
(
55
,
'049EZQEE'
,
'Moussa'
,
'BA'
,
1290902230
,
'moussa.ba@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
56
,
'676DAFM6'
,
'Hameth Hamidou'
,
'SY'
,
1982782740
,
'hamethhamidou.sy@education.sn'
,
'https://apps.education.sn/images/profil/38a8676435ca463b773653f460b6e60d.jpeg'
),
(
57
,
'786QX3U8'
,
'Macky Chérif'
,
'Gassama'
,
1579405730
,
'mackych?rif.gassama@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
58
,
'387BRTR4'
,
'OUSMANE'
,
'GUEYE'
,
1478898750
,
'ousmane.gueye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
59
,
'773Q3DWF'
,
'Abou'
,
'KONTE'
,
1544151360
,
'abou.konte@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
60
,
'484NNYA9'
,
'OUMAR'
,
'NDIAYE'
,
1186970740
,
'oumar.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
61
,
'443RJH4W'
,
'Ousmane'
,
'BA'
,
1770461530
,
'ousmane.ba@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
62
,
'438JE3GH'
,
'Tenguella'
,
'BA'
,
1478898750
,
'tenguella.ba1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
63
,
'438JU4AT'
,
'Ibrahima Abdoulaye'
,
'WATT'
,
1186970740
,
'ibrahimaabdoulaye.watt@education.sn'
,
'https://apps.education.sn/images/profil/1eab156b8fd789a1f0f3df66fa0cee80.jpeg'
),
(
64
,
'946TT64K'
,
'Ibrahima'
,
'BA'
,
1538921320
,
'ibrahima.ba@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
65
,
'436GRUF8'
,
'Cheikh'
,
'SENE'
,
1544151360
,
'cheikh.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
66
,
'377DH9K7'
,
'mamadou'
,
'Cissé'
,
1579405730
,
'mamadou.cisse2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
67
,
'769MFTA7'
,
'Ibrahima'
,
'Senghor'
,
1562092850
,
'ibrahima.senghor@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
68
,
'798VH76G'
,
'Momar'
,
'DIAW'
,
1866441510
,
'momar.diaw@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
69
,
'374MC8NH'
,
'ibrahima'
,
'sene'
,
1770461530
,
'ibrahima.sene2@education.sn'
,
'https://apps.education.sn/images/profil/b6ac0ca22a8af224541b32f0c195ce17.jpeg'
),
(
70
,
'934GNUD3'
,
'Amath'
,
'Sene'
,
0
,
'amath.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
71
,
'787GDRFR'
,
'MALICK'
,
'SANOKHO'
,
1538921320
,
'malick.sanokho@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
72
,
'676WQ3GX'
,
'Moussa'
,
'SARR'
,
1186970740
,
'moussa.sarr@education.sn'
,
'https://apps.education.sn/images/profil/e013f0874a13c00636e097cdfff6b074.jpeg'
),
(
73
,
'473WXGPV'
,
'Ibra Thioro'
,
'Fall'
,
1544151360
,
'ibrathioro.fall@education.sn'
,
'https://apps.education.sn/images/profil/8d855ea01b9b0073cddabba2f158e6ba.jpeg'
),
(
74
,
'864TA8FM'
,
'YOUSSOU'
,
'NDOUR'
,
1982782740
,
'youssou.ndour5@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
75
,
'639EPC96'
,
'MADIOP'
,
'GUEYE'
,
1551270300
,
'madiop.gueye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
76
,
'956ND48W'
,
'Adama'
,
'FALL'
,
0
,
'adama.fall@education.sn'
,
'https://apps.education.sn/images/profil/87394c82f0763141b806ec18e20c8fc5.jpg'
),
(
77
,
'633MUUC9'
,
'ALIOU'
,
'SARR'
,
1982782740
,
'aliou.sarr@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
78
,
'01WK8DA0'
,
'Seyni Ndiaye'
,
'FALL'
,
0
,
'seynindiaye.fall@education.sn'
,
'https://apps.education.sn/images/profil/ad3a13345dfd257781ff19fbaafa387c.jpeg'
),
(
79
,
'736RFWCV'
,
'Elhadji Babacar'
,
'SECK'
,
1982782740
,
'elhadjibabacar.seck1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
80
,
'974F6BTV'
,
'MOUHAMADOU BAMBA'
,
'MBAYE'
,
1544151360
,
'mouhamadoubamba.mbaye@education.sn'
,
'https://apps.education.sn/images/profil/2f86b9300dc107ec730521948eb3cf4f.jpeg'
),
(
81
,
'868JQX7M'
,
'ALIOUNE'
,
'BA'
,
1544151360
,
'alioune.ba@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
82
,
'0T8ZUK0S'
,
'Abdoulaye'
,
'NDAO'
,
0
,
'abdoulaye.ndao@education.sn'
,
'https://apps.education.sn/images/profil/36942563290be78ac7198ecfa6148041.jpeg'
),
(
83
,
'898A9A4V'
,
'ALIOUNE'
,
'FALL'
,
1538921320
,
'alioune.fall50@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
84
,
'487WXVJY'
,
'Momar'
,
'FAYE'
,
1579405730
,
'momar.faye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
85
,
'844R9CQ4'
,
'Moussa'
,
'SAMB'
,
1186970740
,
'moussa.samb@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
86
,
'347K7GMB'
,
'SERIGNE'
,
'NDIAYE'
,
1544151360
,
'serigne.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
87
,
'394T83TV'
,
'Abdourahmane'
,
'KEINDE'
,
1432067520
,
'abdourahmane.keinde@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
88
,
'763NYEJ6'
,
'El Hadji Mbaye'
,
'SYLLA'
,
1579405730
,
'elhadji.sylla@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
89
,
'996HX333'
,
'Boubacar'
,
'NIASSE'
,
1186970740
,
'boubacar.niasse@education.sn'
,
'https://apps.education.sn/images/profil/ebdf73dab5ee3d7e077c151fa0706477.jpeg'
),
(
90
,
'743WVEDE'
,
'Cheikh'
,
'Niang'
,
1553748820
,
'cheikh.niang@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
91
,
'889VVHU9'
,
'Moussa'
,
'NIANG'
,
1432067520
,
'moussa.niang@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
92
,
'939PN3TR'
,
'Mamadou Lamine'
,
'SAMB'
,
1186970740
,
'mamadoulamine.samb@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
93
,
'384VH44C'
,
'Abdoulaye'
,
'NDAO'
,
1538921320
,
'abdoulaye.ndao3@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
94
,
'433RCFY4'
,
'Mohamed Ibrahim'
,
'DIAGNE'
,
1982782740
,
'mohamedibrahim.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
95
,
'693JFU43'
,
'CHEIKH'
,
'BA'
,
1538921320
,
'cheikh.ba@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
96
,
'664NNKAA'
,
'MAMSENE'
,
'TOURE'
,
1544151360
,
'mamsene.toure@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
97
,
'387DMVH9'
,
'ibrahima farba'
,
'DIAHAM'
,
0
,
'ibrahimafarba.diaham@education.sn'
,
'https://apps.education.sn/images/profil/53cb9268dc257d48dc125c966af8d3c6.jpeg'
),
(
98
,
'498NJMPG'
,
'Ismael'
,
'Mbodji'
,
1290902230
,
'ismael.mbodji@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
99
,
'767WR37A'
,
'NDENE'
,
'NIANG'
,
1538921320
,
'ndene.niang3@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
100
,
'899E8EYB'
,
'pape khole'
,
'Dioh'
,
0
,
'papekhole.dioh@education.sn'
,
'https://apps.education.sn/images/profil/2551d10051237abac379571780881f1b.jpeg'
),
(
101
,
'484AE97K'
,
'Babacar'
,
'THIANE'
,
1186970740
,
'babacar.thiane@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
102
,
'748MKRPT'
,
'Samba'
,
'DIAGNE'
,
1186970740
,
'samba.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
103
,
'388JTDPQ'
,
'Makhtar Yacine'
,
'Mbengue'
,
1982782740
,
'makhtaryacine.mbengue@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
104
,
'999DTW3B'
,
'Ameth'
,
'Seck'
,
1982782740
,
'ameth.seck8@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
105
,
'699TQYTG'
,
'Ibrahima'
,
'SECK'
,
1544151360
,
'ibrahima.seck@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
106
,
'964XMADQ'
,
'IBRAHIMA'
,
'KA'
,
1186970740
,
'ibrahima.ka@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
107
,
'674M44KU'
,
'Aliou'
,
'Diop'
,
1186970740
,
'aliou.diop@education.sn'
,
'https://apps.education.sn/images/profil/334799e5bd5d77d19bcfbe4a93d9537a.jpeg'
),
(
108
,
'949T6NMP'
,
'ousseynou'
,
'pouye'
,
1553748820
,
'ousseynou.pouye@education.sn'
,
'https://apps.education.sn/images/profil/3ac3de9d4c595f4f751091d65d3dd89d.jpeg'
),
(
109
,
'846TXDDP'
,
'Mamadou'
,
'KEBE'
,
1478898750
,
'mamadou.kebe@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
110
,
'986JYEKE'
,
'Abdourahmane'
,
'Gueye'
,
1538921320
,
'abdourahmane.gueye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
111
,
'966QDG3U'
,
'Saliou'
,
'FALL'
,
1866441510
,
'saliou.fall1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
112
,
'464RUCNB'
,
'Mouhamadou'
,
'MBENGUE'
,
1579405730
,
'mouhamadou.mbengue@education.sn'
,
'https://apps.education.sn/images/profil/f494a5e15b57e3fedd470d666020b6e2.jpeg'
),
(
113
,
'849DDAMT'
,
'Magueye'
,
'Thiam'
,
1553748820
,
'magueye.thiam1@education.sn'
,
'https://apps.education.sn/images/profil/54b5fad2b1355f054907101e5ba23840.jpeg'
),
(
114
,
'367XNG88'
,
'Ndiaga Ndiaye'
,
'Wade'
,
1579405730
,
'ndiagandiaye.wade@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
115
,
'399MNHVH'
,
'Souleymane'
,
'THIAM'
,
1579405730
,
'souleymane.thiam@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
116
,
'994RDGFH'
,
'Papa Samba'
,
'MBAYE'
,
1553748820
,
'papasamba.mbaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
117
,
'867BVQJ4'
,
'Oumy'
,
'Badji'
,
1544151360
,
'oumy.badji@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
118
,
'893RW6DB'
,
'mariama'
,
'daffe'
,
1982782740
,
'mariama.daffe2@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
119
,
'674RY7AH'
,
'Astou'
,
'Cissokho'
,
1579405730
,
'astou.cissokho@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
120
,
'997TH8HV'
,
'Oumy'
,
'Gueye'
,
1832722740
,
'oumy.gueye1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
121
,
'386FKD6X'
,
'Diakhou'
,
'Tall'
,
1982782740
,
'diakhou.tall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
122
,
'483TR3PH'
,
'HIPPOLYTE'
,
'SAMBOU'
,
1563582550
,
'hippolyte.sambou@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
123
,
'364JVHED'
,
'COUMBA'
,
'GUISSE'
,
1563582550
,
'coumba.guisse@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
124
,
'397RF3JF'
,
'Nar'
,
'Diankha'
,
1866441510
,
'nar.diankha@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
125
,
'439TPRCR'
,
'Ndeye'
,
'NAME'
,
1982782740
,
'ndeye.name@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
126
,
'866RCNXK'
,
'mariama'
,
'seck'
,
1982782740
,
'mariama.seck13@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
127
,
'683KMPJV'
,
'Diattou'
,
'Faye'
,
1579405730
,
'diattou.faye@education.sn'
,
'https://apps.education.sn/images/profil/7c0fdd585186f95e57a9db325f3935fc.jpeg'
),
(
128
,
'95WEJKHY'
,
'NDEYE FALL'
,
'DIENG'
,
1290902230
,
'ndeyefall.dieng@education.sn'
,
'https://apps.education.sn/images/profil/5b4b0b6f0cd6a3a0b36afdd2c51cdcb4.jpeg'
),
(
129
,
'768VWMBK'
,
'Ngone'
,
'Seck'
,
1115779360
,
'ngone.seck@education.sn'
,
'https://apps.education.sn/images/profil/fa9acd6192b9d62858a76740f5e694c7.jpeg'
),
(
130
,
'476FNNBU'
,
'Genevieve Estelle'
,
'MPAMY'
,
1186970740
,
'genevieveestelle.mpamy@education.sn'
,
'https://apps.education.sn/images/profil/398ac286dd4893145991436377428469.jpeg'
),
(
131
,
'836AT3BH'
,
'Diaw nar'
,
'Ngom'
,
1562092850
,
'diawnar.ngom@education.sn'
,
'https://apps.education.sn/images/profil/8c234da9f8817f562155db633ac9254c.png'
),
(
132
,
'874BU8DB'
,
'Awa'
,
'DIENG'
,
1544151360
,
'awa.dieng9@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
133
,
'699WD6GR'
,
'Kardiatou'
,
'Camara'
,
1186970740
,
'kardiatou.camara@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
134
,
'637TJ4CE'
,
'COUMBA'
,
'NDIAYE'
,
1579405730
,
'coumba.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
135
,
'847NY4HQ'
,
'Aminata'
,
'Diallo'
,
1770461530
,
'aminata.diallo@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
136
,
'874K68MQ'
,
'Ndella Diouf'
,
'FAYE'
,
1579405730
,
'ndelladiouf.faye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
137
,
'493CACBT'
,
'Fatou'
,
'BOB'
,
1186970740
,
'fatou.bob@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
138
,
'934RCNK3'
,
'AWA'
,
'DIALLO'
,
1866441510
,
'awa.diallo4@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
139
,
'636TM3A7'
,
'DIARRA'
,
'SOW'
,
1982782740
,
'diarra.sow@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
140
,
'769BGKVY'
,
'Awa'
,
'DIONGUE'
,
1432067520
,
'awa.diongue@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
141
,
'797CUWTD'
,
'mariama'
,
'diouf'
,
1432067520
,
'mariama.diouf37@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
142
,
'364UYRU9'
,
'Thiaba'
,
'DIENG'
,
1050362770
,
'thiaba.dieng@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
143
,
'364UJTBJ'
,
'ndeye khary mame'
,
'faye'
,
1186970740
,
'ndeyekhary.faye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
144
,
'749HAQED'
,
'SEYNABOU'
,
'MBAYE'
,
1159343490
,
'seynabou.mbaye@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
145
,
'497MNEAX'
,
'Arame'
,
'TOURE'
,
1551270300
,
'arame.toure@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
146
,
'348DRDQV'
,
'Mame Maréma'
,
'DIOP'
,
1982782740
,
'mamemarema.diop@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
147
,
'844PYNTD'
,
'Fatou'
,
'SARR'
,
1932617310
,
'fatou.sarr@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
148
,
'786WYTNV'
,
'FATOU'
,
'MBENGUE'
,
1186970740
,
'fatou.mbengue@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
149
,
'448HVQ87'
,
'YEYA'
,
'LY'
,
1186970740
,
'yeya.ly1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
150
,
'967WEB98'
,
'Marie Madeleine'
,
'NDONG'
,
1579405730
,
'mariemadeleine.ndong@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
151
,
'737PMBA7'
,
'Faty'
,
'SEYE'
,
1186970740
,
'faty.seye@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
152
,
'868TWTKP'
,
'Fatou Kine'
,
'Mbaye'
,
1115779360
,
'fatoukine.mbaye1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
153
,
'383CTX7R'
,
'Aminata'
,
'DIENA'
,
1562092850
,
'aminata.diena@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
154
,
'637WDYUG'
,
'Madeleine'
,
'FALL'
,
1432067520
,
'madeleine.fall3@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
155
,
'897AW67R'
,
'Ndeye Aby'
,
'NDAW'
,
1544151360
,
'ndeyeaby.ndaw@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
156
,
'338PUJX4'
,
'Khady'
,
'Sene'
,
1579405730
,
'khady.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
157
,
'966HFBQ3'
,
'debo'
,
'mbaye'
,
1579405730
,
'debo.mbaye@education.sn'
,
'https://apps.education.sn/images/profil/6dcea4678c29337f33294a3532c3cb13.jpeg'
),
(
158
,
'948V7EKB'
,
'Khoudia Bassirou'
,
'Ndao'
,
1982782740
,
'khoudiabassirou.ndao@education.sn'
,
'https://apps.education.sn/images/profil/eaa6a3b7028a268897a81b59814ec4cc.jpeg'
),
(
159
,
'496YMU36'
,
'Khary'
,
'NDIAYE'
,
1872351910
,
'khary.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
160
,
'664YGKMP'
,
'Mariata'
,
'Ba'
,
1770461530
,
'mariata.ba@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
161
,
'488RFMJE'
,
'Mame rose'
,
'Fall'
,
1579405730
,
'mamerose.fall@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
162
,
'673BQDRA'
,
'Sokhna'
,
'NDIAYE'
,
1579405730
,
'sokhna.ndiaye1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
163
,
'834HQTFB'
,
'Massar'
,
'GUEYE'
,
1579405730
,
'massar.gueye1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
164
,
'366VBKPE'
,
'SOKHNA'
,
'Gueye'
,
1917617710
,
'sokhna.gueye2@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
165
,
'478RCP3Q'
,
'Mbaye'
,
'FAYE'
,
1174469590
,
'mbaye.faye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
166
,
'743ABWD7'
,
'Serigne'
,
'DIAW'
,
1174469590
,
'serigne.diaw@education.sn'
,
'https://apps.education.sn/images/profil/d1aafa0688bfc33b70c37c7ca7ae7f76.png'
),
(
167
,
'964XYM8B'
,
'Alioune'
,
'THIAM'
,
1563582550
,
'alioune.thiam1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
168
,
'T80N68HJ'
,
'MALICK'
,
'FAM'
,
0
,
'malick.fam@education.sn'
,
'https://apps.education.sn/images/profil/5509405bb088282eee287ca38bc61778.jpeg'
),
(
169
,
'947C8WDN'
,
'Amadou Becaye'
,
'DIOP'
,
1050362770
,
'amadoubecaye.diop2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
170
,
'379J4UME'
,
'Aminata'
,
'Mbengue'
,
1544151360
,
'aminata.mbengue1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
171
,
'874TUVFW'
,
'Fatou'
,
'SEMBENE'
,
1115779360
,
'fatou.sembene1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
172
,
'108SWUQ6'
,
'Amadou Ngom'
,
'NDIAYE'
,
0
,
'amadoungom.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/e522441dd6208b1f2275488ccca9b4ac.jpeg'
),
(
173
,
'436TYAYQ'
,
'Cheikh mahmadou'
,
'sene'
,
1544151360
,
'cheikhmahmadou.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
174
,
'774KUR7Q'
,
'ARONA'
,
'DIEDHIOU'
,
1186970740
,
'arona.diedhiou2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
175
,
'693THJPB'
,
'Fatimata'
,
'BA'
,
1866441510
,
'fatimata.ba12@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
176
,
'986NT6N7'
,
'Elhadji'
,
'SECK'
,
1115779360
,
'elhadji.seck33@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
177
,
'868X4U48'
,
'Babacar'
,
'SAMB'
,
1432067520
,
'babacar.samb@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
178
,
'873M6HW4'
,
'cherif'
,
'AIDARA'
,
1917617710
,
'cherif.aidara@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
179
,
'334B6FRW'
,
'mamadou'
,
'diop'
,
1832722740
,
'mamadou.diop1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
180
,
'836TEFPB'
,
'Serigne Saibou'
,
'Badiane'
,
1186970740
,
'serignesaibou.badiane1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
181
,
'663NJJ94'
,
'NDIAGA SARR'
,
'DIAGNE'
,
1832722740
,
'ndiagasarr.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
182
,
'937VUXFG'
,
'Moussa'
,
'DIA'
,
1917617710
,
'moussa.dia@education.sn'
,
'https://apps.education.sn/images/profil/059c9cc25a38055472be1d3cfcba6f69.jpeg'
),
(
183
,
'797MNYE8'
,
'AWA'
,
'DIOP'
,
1917617710
,
'awa.diop@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
184
,
'367ADUC4'
,
'Ndeye Binta'
,
'CAMARA'
,
1186970740
,
'ndeyebinta.camara1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
185
,
'773GH3YW'
,
'Ousmane'
,
'Diouf'
,
1832722740
,
'ousmane.diouf5@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
186
,
'396G4NGR'
,
'NOGAYE'
,
'NDIR'
,
1186970740
,
'nogaye.ndir1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
187
,
'733QY88E'
,
'Maimouna'
,
'HANNE'
,
1579405730
,
'maimouna.hanne@education.sn'
,
'https://apps.education.sn/images/profil/8a176ae43453466aac0741b37c474705.jpeg'
),
(
188
,
'977HMCM8'
,
'Malick'
,
'MBAYE'
,
1579405730
,
'malick.mbaye@education.sn'
,
'https://apps.education.sn/images/profil/9503b08476f3afcfc6825bdbeac5af3b.jpeg'
),
(
189
,
'937GHW4E'
,
'Abdoulaye'
,
'seck'
,
1553748820
,
'abdoulaye.seck12@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
190
,
'838RGB9U'
,
'Ablaye'
,
'DIA'
,
1563582550
,
'ablaye.dia@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
191
,
'449PU7NE'
,
'Macodou'
,
'DIEYE'
,
1348495690
,
'dieye.macodou@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
192
,
'779RY4HG'
,
'Mohamed Moustapha'
,
'Diagne'
,
1563582550
,
'mohamedmoustapha.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
193
,
'364K4WEC'
,
'serigne oumar'
,
'gaye'
,
1562092850
,
'serigneoumar.gaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
194
,
'466YNEGP'
,
'LANDING'
,
'MANE'
,
1866441510
,
'landing.mane5@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
195
,
'393QK8HC'
,
'Rokhaya'
,
'DIENE'
,
1917617710
,
'rokhaya.diene@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
196
,
'896UNKMR'
,
'GUEDJ'
,
'NGOM'
,
1917617710
,
'guedji.ngom@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
197
,
'744R9YR7'
,
'ROKHAYA'
,
'MBACKE'
,
1579405730
,
'rokhaya.mbacke1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
198
,
'397PBBRF'
,
'Frédéric François'
,
'DIONOU'
,
1730246120
,
'fredericfrancois.dionou@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
199
,
'988P6ETV'
,
'PAPA AMADY BARRO'
,
'DIOUF'
,
1730246120
,
'papaamady.diouf@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
200
,
'999ETEGJ'
,
'Oumou'
,
'FALL'
,
1579405730
,
'oumou.fall@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
201
,
'88WJG1CZ'
,
'Papa Idrissa'
,
'NDIAYE'
,
1290902230
,
'papaidrissa.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/746b45acf2dbcf97cf255556b2beeffc.jpeg'
),
(
202
,
'734MHBR6'
,
'Moussa'
,
'Diene'
,
1290902230
,
'moussa.diene@education.sn'
,
'https://apps.education.sn/images/profil/8022a6fc9f85940ea4999c504d345cf0.jpeg'
),
(
203
,
'387GR6EN'
,
'Sidy'
,
'SARR'
,
1290902230
,
'sidy.sarr4@education.sn'
,
'https://apps.education.sn/images/profil/43160ca8d4c44db8a5365ba476723fd8.jpeg'
),
(
204
,
'644PH9VC'
,
'Fatou'
,
'DIOUF'
,
1730246120
,
'fatou.diouf216@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
205
,
'833VN6A8'
,
'amadou'
,
'gueye'
,
0
,
'amadou.gueye22@education.sn'
,
'https://apps.education.sn/images/profil/cfda281f2f6dad8236ca3a3c6f25eaf1.jpeg'
),
(
206
,
'676MDVG9'
,
'Samba'
,
'GUISSE'
,
1834475420
,
'samba.guisse@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
207
,
'399YC4FU'
,
'CHEIKHENA'
,
'LAM'
,
1538921320
,
'cheikhena.lam@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
208
,
'874XQFWT'
,
'MARIE'
,
'SIBY'
,
1352932430
,
'marie.siby@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
209
,
'468QCHVW'
,
'Waly'
,
'NDOUR'
,
1579405730
,
'waly.ndour8@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
210
,
'936VX376'
,
'Elhadji demba'
,
'Niang'
,
1186970740
,
'elhadjidemba.niang@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
211
,
'879YRPBF'
,
'MAME ABDOU'
,
'NDIAYE'
,
1186970740
,
'mameabdou.ndiaye4@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
212
,
'997NERQY'
,
'Ndeye Madjiguene'
,
'Mbaye'
,
1982782740
,
'ndeyemadjiguene.mbaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
213
,
'668PX6VB'
,
'Mamadou Moustapha'
,
'NDAO'
,
1544151360
,
'mamadoumoustapha.ndao@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
214
,
'738C8RD3'
,
'OUMAR'
,
'CISSE'
,
1579405730
,
'oumar.cisse@education.sn'
,
'https://apps.education.sn/images/profil/ed661d5bae6cfd7c05cb8e5e65ee655f.jpeg'
),
(
215
,
'773C9YNV'
,
'saliou'
,
'seck'
,
1982782740
,
'saliou.seck@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
216
,
'768D3WR9'
,
'Aly Seck'
,
'KANE'
,
1562092850
,
'alyseck.kane@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
217
,
'639N8HXM'
,
'Aicha'
,
'DIOP'
,
1579405730
,
'aicha.diop5@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
218
,
'397UJJBJ'
,
'MAGUEYE'
,
'DIALLO'
,
1832722740
,
'magueye.diallo1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
219
,
'884QHA3T'
,
'PAPA REYE'
,
'MBAYE'
,
1579405730
,
'papareye.mbaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
220
,
'949YAABJ'
,
'Binta'
,
'Diallo'
,
1866441510
,
'binta.diallo16@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
221
,
'876V7FG7'
,
'Cheikh'
,
'BEYE'
,
1544151360
,
'cheikh.beye@education.sn'
,
'https://apps.education.sn/images/profil/77be65c26bffd49af78a2609c516c404.jpeg'
),
(
222
,
'879Q4THG'
,
'AISSATOU LENA'
,
'SENE'
,
1551270300
,
'aissatoulena.sene@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
223
,
'368KR8RJ'
,
'Aliou Abdourahmane'
,
'DIA'
,
1650150940
,
'aliouabdourahmane.dia@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
224
,
'899V68NC'
,
'Mountaga'
,
'SOW'
,
1579405730
,
'mountaga.sow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
225
,
'377UUTP6'
,
'Modou'
,
'DIOUF'
,
1982782740
,
'modou.diouf@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
226
,
'676PUB77'
,
'Alioune Badara'
,
'DIOP'
,
1538921320
,
'aliounebadara.diop1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
227
,
'988DCQ98'
,
'Samba'
,
'Sylla'
,
1186970740
,
'samba.sylla4@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
228
,
'876D7R9V'
,
'Boundiara'
,
'Mbacke'
,
1538921320
,
'boundiara.mbacke@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
229
,
'667FYQ9X'
,
'Cheikh bamba'
,
'Gueye'
,
1538921320
,
'cheikhbamba.gueye@education.sn'
,
'https://apps.education.sn/images/profil/658e7699e8e2e79f84822c7b0dc60915.jpeg'
),
(
230
,
'396GPYNG'
,
'Moussa'
,
'Faye'
,
1544151360
,
'moussa.faye65@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
231
,
'647WTUVX'
,
'khady Diop'
,
'Mbodji'
,
1562092850
,
'sg@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
232
,
'637HXE4K'
,
'Mamadou'
,
'FALL'
,
1174469590
,
'mamadou.fall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
233
,
'898HYTG3'
,
'Abdoulaye'
,
'SALL'
,
1579405730
,
'abdoulaye.sall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
234
,
'433GFN7V'
,
'Timothe'
,
'Dione'
,
1579405730
,
'timothe.dione@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
235
,
'848FYCRR'
,
'Babacar'
,
'KANOUTE'
,
1538921320
,
'babacar.kanoute1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
236
,
'687WCN3R'
,
'Amadou'
,
'SEYE'
,
0
,
'amadou.seye2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
237
,
'693RCRUK'
,
'mamadou abdoul'
,
'sow'
,
1832722740
,
'mamadouabdoul.sow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
238
,
'469GXYUN'
,
'Sokhna'
,
'FALL'
,
1498593900
,
'sokhna.fall@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
239
,
'689A7DPA'
,
'Mamour'
,
'Wade'
,
1579405730
,
'mamour.wade@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
240
,
'968FC4DM'
,
'Amadou'
,
'DIOP'
,
1498593900
,
'amadou.diop40@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
241
,
'789BPRX6'
,
'Cheikh Ahmadou Tidiane'
,
'WANE'
,
1498593900
,
'ct3@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
242
,
'649YV3P6'
,
'NGARY'
,
'FAYE'
,
1498593900
,
'ct1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
243
,
'644Q3JV9'
,
'Mame Sané'
,
'NDIAYE'
,
1498593900
,
'dc@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
244
,
'773VUPUF'
,
'Mamadou'
,
'Talla'
,
1520159440
,
'ministre@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
245
,
'998FC8TE'
,
'Oumar'
,
'AW'
,
1498593900
,
'oumar.aw@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
246
,
'686RWKG6'
,
'Djibril'
,
'AGNE'
,
1498593900
,
'djibril.agne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
247
,
'768GCJYN'
,
'Bouna Abdoul Salam'
,
'TALLA'
,
1498593900
,
'bounaabdoul.talla1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
248
,
'663H6GAB'
,
'NDEYE'
,
'DIALLO'
,
1520159440
,
'ndeye.diallo2@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
249
,
'488YVKM4'
,
'Mamadou'
,
'BAKHOUM'
,
1538921320
,
'mamadou.bakhoum3@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
250
,
'747GTHDC'
,
'MADJIGUENE'
,
'SARR'
,
1348495690
,
'madjiguene.sarr@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
251
,
'969VAABE'
,
'Assane'
,
'GAYE'
,
1348495690
,
'assane.gaye@education.sn'
,
'https://apps.education.sn/images/profil/0c856b95fd2372c9c20fb327fb41c8e2.jpeg'
),
(
252
,
'743PR4P7'
,
'Mohamed'
,
'SOW'
,
1348495690
,
'mohamed.sow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
253
,
'347BWME6'
,
'Cheikh'
,
'DIENG'
,
1498593900
,
'cheikh.dieng45@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
254
,
'486DVH4Q'
,
'CHEIKH TIDIANE'
,
'DIALLO'
,
1866441510
,
'cheikhtidiane.diallo@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
255
,
'399WYBA6'
,
'Awa Gae'
,
'SALL'
,
1866441510
,
'awagae.sall@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
256
,
'447RTUXQ'
,
'Djinda'
,
'DIOP'
,
1866441510
,
'djinda.diop@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
257
,
'968E6BKP'
,
'Nafissatou'
,
'GASSAMA'
,
1843720410
,
'nafissatou.gassama@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
258
,
'784Y89AU'
,
'ABOU'
,
'NIANG'
,
1579405730
,
'abou.niang@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
259
,
'868WQRUN'
,
'ousseynou'
,
'faye'
,
1579405730
,
'ousseynou.faye40@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
260
,
'973MXAHX'
,
'Ousseynou'
,
'NDIAYE'
,
1174469590
,
'ousseynou.ndiaye55@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
261
,
'478W733N'
,
'ELHADJI BABACAR'
,
'SECK'
,
1562092850
,
'elhadjibabacar.seck@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
262
,
'983UF4WG'
,
'Sidy Yakhya'
,
'KOUNTA'
,
1770461530
,
'sidyyakhya.kounta@education.sn'
,
'https://apps.education.sn/images/profil/9f1e38342ac803bc31df0b62623eb66a.jpeg'
),
(
263
,
'766NXKMY'
,
'Rokhaya'
,
'MBODJI'
,
1730246120
,
'rokhaya.mbodji@education.sn'
,
'https://apps.education.sn/images/profil/6191d3ab0ee414be9d8ef38a925f716a.jpeg'
),
(
264
,
'986QTWMF'
,
'Babacar'
,
'Faye'
,
1579405730
,
'babacar.faye4@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
265
,
'367E7KT6'
,
'Idrissa'
,
'GOUDIABY'
,
1563582550
,
'idrissa.goudiaby@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
266
,
'999F38J3'
,
'Saliou Kholé'
,
'DIOUF'
,
1579405730
,
'salioukhole.diouf@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
267
,
'396CFH73'
,
'MASSAMBA'
,
'THIANE'
,
1951121090
,
'massamba.thiane@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
268
,
'676DYGGU'
,
'Cheikhou Ahmadou'
,
'THIAM'
,
1579405730
,
'cheikhouahmadou.thiam1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
269
,
'968YM4VW'
,
'fatou'
,
'Bocoum'
,
1348495690
,
'fatou.bocoum@education.sn'
,
'https://apps.education.sn/images/profil/9e21645dbf0d6fab5d5ae0567cbc273a.jpeg'
),
(
270
,
'998RPWHA'
,
'Ibrahima'
,
'Tine'
,
1579405730
,
'ibrahima.tine11@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
271
,
'473GEJ8A'
,
'Djibril'
,
'SENE'
,
1348495690
,
'djibril.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
272
,
'768X7BN7'
,
'Abdou Karim'
,
'Basse'
,
1579405730
,
'abdoukarim.basse@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
273
,
'648HD4VQ'
,
'Thierno Dahirou'
,
'Ly'
,
1478898750
,
'thiernodahirou.ly@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
274
,
'978P9NCB'
,
'Saliou'
,
'Fall'
,
1982782740
,
'saliou.fall39@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
275
,
'496AXWVU'
,
'Idy'
,
'Thiombane'
,
1982782740
,
'idy.thiombane1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
276
,
'844RRWMG'
,
'ndeye ndack'
,
'mbodji'
,
1538921320
,
'ndeyendack.mbodji@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
277
,
'836HPJCU'
,
'Emile'
,
'Faye'
,
1544151360
,
'emile.faye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
278
,
'978GYMKW'
,
'Fatou'
,
'Samb'
,
1563582550
,
'fatou.samb@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
279
,
'637B49KD'
,
'Papa Ousmane'
,
'DONDE'
,
1982782740
,
'papaousmane.donde@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
280
,
'383R7QP3'
,
'Mame Mali'
,
'GUEYE'
,
1544151360
,
'mamemali.gueye@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
281
,
'993CADHC'
,
'Saliou '
,
'Sène'
,
1432067520
,
'saliou.sene39@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
282
,
'879YRV9P'
,
'Sana'
,
'Mané'
,
1553748820
,
'sana.mane@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
283
,
'879MRTD6'
,
'Ndeye Ndickou Gaye'
,
'NIANG'
,
1579405730
,
'ndeyendickou.niang@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
284
,
'674JMJYV'
,
'Mor'
,
'MBOW'
,
1579405730
,
'mor.mbow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
285
,
'843TYUD8'
,
'Amadou Moctar'
,
'NDIAYE'
,
1854629610
,
'amadoumoctar.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
286
,
'468NFBHF'
,
'Souleymane'
,
'DIEME'
,
1115779360
,
'souleymane.dieme12@education.sn'
,
'https://apps.education.sn/images/profil/1d4ffb1dcc6d274cb5680f19c46a52e3.jpeg'
),
(
287
,
'836NEQUJ'
,
'Alassane'
,
'DIALLO'
,
1579405730
,
'alassane.diallo54@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
288
,
'863E6JTD'
,
'Rokhaya'
,
'Cisse'
,
1579405730
,
'rokhaya.cisse1@education.sn'
,
'https://apps.education.sn/images/profil/7c14e04b54b397841530f662b7f4f9e4.jpeg'
),
(
289
,
'834WUVVK'
,
'OUMAR'
,
'DIAGNE'
,
1538921320
,
'oumar.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
290
,
'874CPX8E'
,
'Aïssatou'
,
'Touré'
,
1432067520
,
'aissatou.toure55@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
291
,
'399RWGMN'
,
'Mamadou Moustapha'
,
'Goudiaby'
,
1579405730
,
'mamadoumoustapha.goudiaby@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
292
,
'643HF6MV'
,
'Maïmouna Soudé'
,
'SOUARE'
,
1538921320
,
'maimounasoude.souare@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
293
,
'973MVWJW'
,
'Salimata'
,
'GOUDIABY'
,
1538921320
,
'salimata.goudiaby1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
294
,
'834F843J'
,
'Salif'
,
'SIDIBE'
,
1866441510
,
'salif.sidibe1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
295
,
'638WWHVN'
,
'Abdoulaye'
,
'DIOP'
,
1544151360
,
'abdoulaye.diop@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
296
,
'478Q93NX'
,
'Abou'
,
'Ndiaye'
,
1538921320
,
'abou.ndiaye22@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
297
,
'974J6HXY'
,
'Mamour'
,
'Fall'
,
1563582550
,
'mamour.fall5@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
298
,
'643X3PY3'
,
'AMADOU'
,
'DIALLO'
,
1579405730
,
'amadou.diallo149@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
299
,
'936PKR3V'
,
'Saliou'
,
'DIAGNE'
,
1579405730
,
'saliou.diagne@education.sn'
,
'https://apps.education.sn/images/profil/b48406ca93894b16f9ea8010e24b8440.jpeg'
),
(
300
,
'684TK7RH'
,
'Astou'
,
'FALL'
,
1866441510
,
'astou.fall1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
301
,
'837G7YUB'
,
'Francois'
,
'THIANA'
,
1348495690
,
'francois.thiana1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
302
,
'796FG6PQ'
,
'Amadou Lamine'
,
'Fall'
,
1579405730
,
'amadoulamine.fall5@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
303
,
'373XWF69'
,
'Dior'
,
'Diop'
,
1538921320
,
'dior.diop5@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
304
,
'839FR8JW'
,
'Mareme'
,
'Fall'
,
1579405730
,
'mareme.fall40@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
305
,
'499ENHNE'
,
'Seydina Ousmane'
,
'Danso'
,
1579405730
,
'seydinaousmane.danso@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
306
,
'349YURNJ'
,
'Ablaye'
,
'Faye'
,
1563582550
,
'ablaye.faye41@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
307
,
'394GNRHA'
,
'Ibrahima Amadou'
,
'LY'
,
1538921320
,
'ibrahimaamadou.ly@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
308
,
'387GW4RQ'
,
'Aly'
,
'Ndao'
,
1579405730
,
'aly.ndao9@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
309
,
'389V49CM'
,
'baye'
,
'dieng'
,
1348495690
,
'baye.dieng@education.sn'
,
'https://apps.education.sn/images/profil/74709c2ce5d92dc2dd52e22c3c3b55a9.jpeg'
),
(
310
,
'934JVQRK'
,
'MOR'
,
'FALL'
,
1553748820
,
'mor.fall2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
311
,
'393WDJT7'
,
'Rokhaya'
,
'Diba'
,
1538921320
,
'rokhaya.diba@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
312
,
'779HQ8RQ'
,
'Papa Sambaré'
,
'NDIAYE'
,
1579405730
,
'dage@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
314
,
'846AU8QP'
,
'Abdou'
,
'GUEYE'
,
1538921320
,
'abdou.gueye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
315
,
'368C3G3F'
,
'Abdoulaye'
,
'Mbaye'
,
1832722740
,
'abdoulaye.mbaye44@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
316
,
'964P3CNQ'
,
'ngor'
,
'DIENG'
,
1348495690
,
'ngor.dieng@education.sn'
,
'https://apps.education.sn/images/profil/40124ffef94fdbe151a9bc6fb5069f93.jpeg'
),
(
317
,
'886J8GE8'
,
'Serigne Saliou'
,
'SAMB'
,
1432067520
,
'serignesaliou.samb2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
318
,
'489JDWBF'
,
'Mamadou Bailo'
,
'CAMARA'
,
1544151360
,
'mamadoubailo.camara@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
319
,
'788HAU9K'
,
'Papa Fily'
,
'NDIAYE'
,
1978518180
,
'papafily.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
320
,
'674AUGVC'
,
'CHERIF OUSMANE'
,
'AIDARA'
,
1538921320
,
'cherifousmane.aidara@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
321
,
'798G39RP'
,
'Babacar'
,
'GAYE'
,
1432067520
,
'babacar.gaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
322
,
'936FFVRN'
,
'Moctar'
,
'seck'
,
1432067520
,
'moctar.seck@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
323
,
'647WGRA9'
,
'Mor Talla'
,
'Diop'
,
1563582550
,
'mortalla.diop@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
324
,
'389PYN6X'
,
'hamady'
,
'toure'
,
1115779360
,
'hamady.toure@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
325
,
'797CJBKF'
,
'Kassa'
,
'DIAGNE'
,
1159343490
,
'kassa.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
326
,
'8T1GLFBL'
,
'Ngoye'
,
'NDIAYE'
,
0
,
'ngoye.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
327
,
'777WW643'
,
'Alioune'
,
'MBOW'
,
1174469590
,
'alioune.mbow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
328
,
'489XAWGK'
,
'Amadou Diégane'
,
'SARR'
,
1348495690
,
'amadoudiegane.sarr@education.sn'
,
'https://apps.education.sn/images/profil/1f3ad62e05832ae96a547497b8ce4fd0.jpeg'
),
(
329
,
'733QGDW9'
,
'Ya Diagne'
,
'THIAW'
,
1348495690
,
'yadiagne.thiaw@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
330
,
'893W7F34'
,
'Gora'
,
'Beye'
,
1730246120
,
'gora.beye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
331
,
'768W8H46'
,
'Papa Ndiaga Coumba'
,
'DIENG'
,
1730246120
,
'papandiaga.dieng@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
332
,
'347WDW8F'
,
'BASSINE'
,
'NDIAYE'
,
1579405730
,
'bassine.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
333
,
'468QJ9MH'
,
'Aliou'
,
'DIOUF'
,
1730246120
,
'aliou.diouf85@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
334
,
'749JH7E8'
,
'HENRY LATYR'
,
'SENE'
,
1730246120
,
'henrylatyr.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
335
,
'397RXJP9'
,
'Momoyah Mohamed Lamine'
,
'SYLLA'
,
1579405730
,
'momoyahmohamed.sylla@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
336
,
'937E774D'
,
'SOUKEYE'
,
'MBAYE'
,
1186970740
,
'soukeye.mbaye1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
337
,
'993J6PAK'
,
'Moustapha'
,
'Thiam'
,
1186970740
,
'moustapha.thiam46@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
338
,
'744MR9PX'
,
'Oumar Tafsir'
,
'BOCOUM'
,
1730246120
,
'oumartafsir.bocoum@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
339
,
'698EEA7U'
,
'Waly'
,
'NDIAYE'
,
1932617310
,
'waly.ndiaye18@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
340
,
'939F3CJY'
,
'Cheikhou'
,
'Diagne'
,
1538921320
,
'cheikhou.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
341
,
'733FYTUD'
,
'Diene'
,
'THIANG'
,
1538921320
,
'diene.thiang@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
342
,
'668J37K8'
,
'Serigne'
,
'NIANG'
,
1538921320
,
'serigne.niang11@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
343
,
'878FNJJD'
,
'Ndatar'
,
'SENE'
,
1538921320
,
'ndatar.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
344
,
'974WCTRP'
,
'Waly'
,
'Mbodj'
,
1579405730
,
'wally.mbodj@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
345
,
'767YETKJ'
,
'Salimata'
,
'SENE'
,
1866441510
,
'salimata.sene@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
346
,
'868MMYB6'
,
'FATIM'
,
'BARRY'
,
1579405730
,
'fatim.barry@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
347
,
'333KJ87B'
,
'MAguette'
,
'Ndir'
,
1579405730
,
'maguette.ndir@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
348
,
'676KXU7G'
,
'YERIME ABY'
,
'SARR'
,
1538921320
,
'yerimeaby.sarr@education.sn'
,
'https://apps.education.sn/images/profil/e72d02807a6f967f85666e0f580d2003.jpeg'
),
(
349
,
'669BKW4W'
,
'Baba'
,
'SENE'
,
1579405730
,
'baba.sene3@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
350
,
'387KYQJ8'
,
'Aboubakry'
,
'fall'
,
1866441510
,
'aboubakry.fall1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
351
,
'393V6UV9'
,
'Aldiouma'
,
'BA'
,
1579405730
,
'aldiouma.ba9@education.sn'
,
'https://apps.education.sn/images/profil/17bc9b70eaba7b0dec3a62b2807b77e3.jpeg'
),
(
352
,
'486HQE74'
,
'ALASSANE'
,
'MBAYE'
,
1186970740
,
'alassane.mbaye3@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
353
,
'6WWF0O8W'
,
'MANSOUR'
,
'BA'
,
1290902230
,
'mansour.ba@education.sn'
,
'https://apps.education.sn/images/profil/5cf6729963480e4c8edecf29fa27253a.jpeg'
),
(
354
,
'889XGW6E'
,
'Mamadou'
,
'MBOUP'
,
1579405730
,
'mamadou.mboup1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
355
,
'634H86VR'
,
'MAME BINETA'
,
'DIAGNE'
,
1186970740
,
'mamebineta.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
356
,
'488YWUBM'
,
'Mamadou Arona'
,
'ANNE'
,
1050362770
,
'mamadouarona.anne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
357
,
'999CWYH6'
,
'Awa Cheikh'
,
'ndiaye'
,
1579405730
,
'awacheikh.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
358
,
'699T7PND'
,
'Ibrahima'
,
'Ndir'
,
0
,
'ibrahima.ndir7@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
359
,
'793U6JWM'
,
'PAPA'
,
'SENE'
,
1932617310
,
'papa.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
360
,
'373MJHU3'
,
'Aissata'
,
'Tall'
,
1050362770
,
'aissata.tall@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
361
,
'938Q9UE3'
,
'Souleymane'
,
'Ndiaye'
,
1579405730
,
'souleymane.ndiaye2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
362
,
'443J3WWY'
,
'Sitapha'
,
'Mbaye'
,
1579405730
,
'sitapha.mbaye1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
363
,
'979FEJMA'
,
'Alioune Amar'
,
'SOW'
,
1579405730
,
'aliouneamar.sow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
);
INSERT
INTO
`personnel`
(
`id`
,
`ien`
,
`prenom`
,
`nom`
,
`code_str`
,
`email`
,
`avatar`
)
VALUES
(
364
,
'479M6XWX'
,
'gueladio'
,
'diallo'
,
1478898750
,
'gueladio.diallo1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
365
,
'699F877J'
,
'Thierno Seydou'
,
'BADIANE'
,
1050362770
,
'thiernoseydou.badiane@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
366
,
'768C4MBC'
,
'MAMADOU'
,
'DRAME'
,
1628800130
,
'mamadou.drame10@education.sn'
,
'https://apps.education.sn/images/profil/c8201f64e90508b0a8aa502bc1801452.jpeg'
),
(
367
,
'997JPTM4'
,
'Mamadou'
,
'NGOM'
,
1579405730
,
'mamadou.ngom52@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
368
,
'867KV8BN'
,
'Iba'
,
'Ndiaye'
,
1770461530
,
'iba.ndiaye3@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
369
,
'699U99XX'
,
'Birné'
,
'Ndour'
,
1866441510
,
'birne.ndour@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
370
,
'969UVXV4'
,
'Penda Seck'
,
'FALL'
,
1628800130
,
'pendaseck.fall@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
371
,
'334TFM6Y'
,
'Abdoulaye Abou'
,
'BASSE'
,
1538921320
,
'abdoulayeabou.basse@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
372
,
'749MBQC8'
,
'Ousmane'
,
'Ndiaye'
,
1866441510
,
'ousmane.ndiaye97@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
373
,
'677AT666'
,
'El Hadj Abdoulaye'
,
'Ndiaye'
,
1478898750
,
'elhadj.ndiaye8@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
374
,
'493J4YUU'
,
'Sokhna Fatou'
,
'Diagne'
,
1290902230
,
'sokhnafatou.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
375
,
'894T3RA8'
,
'Papa Amadou'
,
'SENE'
,
1290902230
,
'papaamadou.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
376
,
'643KRMYM'
,
'Badara'
,
'Amar'
,
1628800130
,
'badara.amar@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
377
,
'580U0Q9R'
,
'Sylla'
,
'Diedhiou'
,
0
,
'sylla.diedhiou@education.sn'
,
'https://apps.education.sn/images/profil/2bc950b011dbd037091da8f8aff31c67.jpeg'
),
(
378
,
'737EJMJY'
,
'Makhtar'
,
'DIOP'
,
1290902230
,
'makhtar.diop@education.sn'
,
'https://apps.education.sn/images/profil/27189a44d704a1d11fe6990ff862971c.jpeg'
),
(
379
,
'838QBFWW'
,
'Ibrahima'
,
'COLY'
,
1478898750
,
'ibrahima.coly@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
380
,
'994UWHYW'
,
'Chérif Mahmoud'
,
'Aidara'
,
1290902230
,
'cherifmahmoud.aidara1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
381
,
'777YXK93'
,
'Babacar'
,
'SENE'
,
1348495690
,
'babacar.sene@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
382
,
'884MQ3EF'
,
'Aminata'
,
'LO'
,
0
,
'aminata.lo1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
383
,
'986CDQQH'
,
'Sourang Mamadou Moustapha'
,
'FALL'
,
1579405730
,
'sourangmamadou.fall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
384
,
'786NWAD3'
,
'YAYA'
,
'CISSOKHO'
,
1563582550
,
'yaya.cissokho@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
385
,
'996JN3PE'
,
'Ngor'
,
'Sarr'
,
1174469590
,
'ngor.sarr6@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
386
,
'768VWMGC'
,
'MOUSSA'
,
'SONKO'
,
1579405730
,
'moussa.sonko@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
387
,
'867KUM78'
,
'Cheikh'
,
'Diouf'
,
1579405730
,
'cheikh.diouf88@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
388
,
'494UHY6T'
,
'Lamine Yocal'
,
'SONKO'
,
1290902230
,
'lamineyocal.sonko@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
389
,
'376DN49H'
,
'Ramatoulaye'
,
'Ndiaye'
,
1866441510
,
'ramatoulaye.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
390
,
'944GYYPK'
,
'cheikhou oumar'
,
'dath'
,
1538921320
,
'cheikhououmar.dath@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
391
,
'993PVCGG'
,
'Oumar'
,
'SAGNA'
,
1866441510
,
'oumar.sagna@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
392
,
'788JY9XY'
,
'Amadou Bécaye'
,
'DIOP'
,
1050362770
,
'amadoubecaye.diop@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
393
,
'967AFCDX'
,
'AMADOU'
,
'SYLLA'
,
1579405730
,
'amadou.sylla@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
394
,
'386GUAC9'
,
'Boubacar'
,
'DRAME'
,
1050362770
,
'boubacar.drame@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
395
,
'649KRBKJ'
,
'Omar'
,
'NIANG'
,
1050362770
,
'omar.niang@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
396
,
'698DYP3G'
,
'Saliou'
,
'Sene'
,
1628800130
,
'saliou.sene1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
397
,
'796WRH7F'
,
'Finty'
,
'Ndiaye'
,
1186970740
,
'finty.ndiaye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
398
,
'436CYEU8'
,
'MODOU'
,
'THIAM'
,
1432067520
,
'modou.thiam@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
399
,
'334AP9PN'
,
'Papa Diaga'
,
'DIONE'
,
1186970740
,
'papadiaga.dione@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
400
,
'776Y8MXB'
,
'Dieynaba'
,
'Diop'
,
0
,
'dieynaba.diop5@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
401
,
'337UDQ6T'
,
'MAMADOU'
,
'SENE'
,
0
,
'mamadou.sene63@education.sn'
,
'https://apps.education.sn/images/profil/25d2ea8e9e6bc241f417cce7d4c88127.jpeg'
),
(
402
,
'TT1WLB5J'
,
'Khady FAMA'
,
'GUEYE'
,
0
,
'khadyfama.gueye@education.sn'
,
'https://apps.education.sn/images/profil/ee22671ac6581746e613dcfbb20b8ddd.jpeg'
),
(
403
,
'493TNFYY'
,
'Ndeye Amy Colle '
,
'Gaye'
,
1538921320
,
'ndeyeamy.gaye1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
404
,
'363XGMMF'
,
'NDEYE COUMBA'
,
'DIENG'
,
1832722740
,
'ndeyecoumba.dieng3@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
405
,
'479RP3DY'
,
'Madiop'
,
'DIOP'
,
1050362770
,
'madiop.diop@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
406
,
'999XYT6A'
,
'Bouré'
,
'DIOUF'
,
1978518180
,
'boure.diouf1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
407
,
'444P4XUJ'
,
'Awa'
,
'FALL'
,
1050362770
,
'awa.fall1@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
408
,
'489TTRPQ'
,
'Babacar'
,
'Diop'
,
1348495690
,
'babacar.diop1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
409
,
'336MAJ9Y'
,
'Adama'
,
'DIOP'
,
1290902230
,
'adama.diop52@education.sn'
,
'https://apps.education.sn/images/profil/ee6c066f330f211775c3e875f7296a52.jpeg'
),
(
410
,
'447QQPKY'
,
'Ndiawar'
,
'NGOM'
,
1290902230
,
'ndiawar.ngom@education.sn'
,
'https://apps.education.sn/images/profil/e06ee4727735fc71b80661174dfb9f38.jpeg'
),
(
411
,
'789YWFJM'
,
'Cheikh'
,
'Diop'
,
1432067520
,
'cheikh.diop9@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
412
,
'748HJP44'
,
'alioune badara'
,
'fall'
,
1290902230
,
'aliounebadara.fall14@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
413
,
'667GTUYA'
,
'Abdaty'
,
'Aidara'
,
1348495690
,
'abdaty.aidara@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
414
,
'338PNR9T'
,
'EL HADJI MOUHAMADOU LAMINE'
,
'NIANG'
,
1115779360
,
'elhadji.niang61@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
415
,
'669JD9W3'
,
'mamadou'
,
'Ba'
,
1579405730
,
'mamadou.ba235@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
416
,
'378KDJ3D'
,
'cheikh'
,
'seck'
,
1563582550
,
'cheikh.seck12@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
417
,
'966PTX4Y'
,
'Secka'
,
'MBENGUE'
,
1478898750
,
'secka.mbengue@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
418
,
'448TEYNE'
,
'mamadou'
,
'diouf'
,
1478898750
,
'mamadou.diouf12@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
419
,
'487X38BK'
,
'Mariama'
,
'Seck'
,
1115779360
,
'mariama.seck18@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
420
,
'866QUFCK'
,
'Mamadou'
,
'CISS'
,
1538921320
,
'mamadou.ciss16@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
421
,
'947NUHA9'
,
'Mamadou Mouctar'
,
'SOW'
,
1579405730
,
'mamadoumouctar.sow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
422
,
'488GNXR3'
,
'Camilo'
,
'Pereira'
,
1290902230
,
'camilo.pereira@education.sn'
,
'https://apps.education.sn/images/profil/5a1e47aaae90f1c4b4476203c5ca58ce.jpeg'
),
(
423
,
'668NXAY7'
,
'EL HADJI ELIMANE'
,
'BA'
,
1866441510
,
'elhadji.ba18@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
424
,
'767PBEBY'
,
'Nguenar'
,
'Dioh'
,
1478898750
,
'nguenar.dioh@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
425
,
'368VQDJR'
,
'diama'
,
'mangane'
,
1579405730
,
'diama.mangane@education.sn'
,
'0'
),
(
426
,
'683NNH9U'
,
'seynabou'
,
'diaw'
,
0
,
'seynabou.diaw7@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
427
,
'348AKUJ7'
,
'Ousseynou'
,
'BADIANE'
,
1579405730
,
'ousseynou.badiane2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
428
,
'886C6GCF'
,
'omar'
,
'thiam'
,
1579405730
,
'omar.thiam4@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
429
,
'634QF8F6'
,
'ADJI'
,
'BARRY'
,
1050362770
,
'adji.barry@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
430
,
'444FTPQ4'
,
'YOUNOUSSE'
,
'MANGA'
,
1186970740
,
'younousse.manga@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
431
,
'773TRRNY'
,
'Baidy Demba'
,
'DIOP'
,
1563582550
,
'baidydemba.diop@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
432
,
'889A4QTP'
,
'Bitty Bocar'
,
'Ba'
,
1563582550
,
'bittybocar.ba@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
433
,
'787N6WXX'
,
'El hadji Amadou Gueye'
,
'SEYE'
,
1130379380
,
'elhadji.seye@education.sn'
,
NULL
),
(
434
,
'843YH7PU'
,
'SALIOU'
,
'DIENG'
,
1866441510
,
'saliou.dieng24@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
435
,
'638GY7TH'
,
'Bassirou'
,
'DIOUF'
,
1832722740
,
'bassirou.diouf@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
436
,
'337W9P99'
,
'Mame Coumba'
,
'Dieng'
,
1982782740
,
'mamecoumba.dieng1@education.sn'
,
'https://apps.education.sn/images/profil/f1d591960f11b8035a82f09b37681490.jpeg'
),
(
437
,
'743M3N8T'
,
'SAPHIE'
,
'KANTE'
,
1982782740
,
'saphie.kante@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
438
,
'338K4UGM'
,
'PAPA AMADOU'
,
'SOW'
,
1832722740
,
'papaamadou.sow3@education.sn'
,
'https://apps.education.sn/images/profil/8f31552871fed18ad575a02b533ea2fc.jpeg'
),
(
439
,
'837TKJNQ'
,
'OUSMANE'
,
'DIATTA'
,
1538921320
,
'ousmane.diatta28@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
440
,
'493JFK4H'
,
'Oumar'
,
'SOW'
,
1050362770
,
'oumar.sow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
441
,
'787CWY3J'
,
'Ndèye khady'
,
'DIONGUE'
,
1982782740
,
'ndeyekhady.diongue@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
442
,
'774DVUXX'
,
'Maxime'
,
'Ndecky'
,
1478898750
,
'maxime.ndecky1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
443
,
'678G8D8F'
,
'Aissatou'
,
'NIANG'
,
1934180100
,
'aissatou.niang32@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
444
,
'336P9GUN'
,
'Anna'
,
'Sow'
,
1866441510
,
'anna.sow@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
445
,
'349JFMJM'
,
'Amy'
,
'SALL'
,
1115779360
,
'amy.sall@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
446
,
'498AG8DU'
,
'Daouda'
,
'THIAO'
,
1538921320
,
'daouda.thiao@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
447
,
'973GP4EE'
,
'Mamadou Hadi'
,
'Diallo'
,
1866441510
,
'mamadouhadi.diallo@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
448
,
'394EAARN'
,
'diarra'
,
'thimbo'
,
1866441510
,
'diarra.thimbo@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
449
,
'663EXRUQ'
,
'Abdoulaye'
,
'DIOP'
,
1982782740
,
'abdoulaye.diop123456@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
450
,
'497YXA6U'
,
'yacine'
,
'fall'
,
1982782740
,
'yacine.fall1@education.sn'
,
'https://apps.education.sn/images/profil/67a409f6dfdfe5d675f4b4bd32513aa8.jpeg'
),
(
451
,
'744Y3UWY'
,
'Kave'
,
'SALL'
,
1478898750
,
'kave.sall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
452
,
'938F4B64'
,
'THIORO'
,
'SALL'
,
1866441510
,
'thioro.sall@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
453
,
'738WRW4A'
,
'yaye fatou'
,
'diagne'
,
1866441510
,
'yayefatou.diagne@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
454
,
'484A4W48'
,
'yacine'
,
'ngom'
,
1982782740
,
'yacine.ngom@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
455
,
'446DUPXB'
,
'AISSE'
,
'SALL'
,
1186970740
,
'aisse.sall@education.sn'
,
'https://apps.education.sn/images/profil/f0f9c8abcc6e7f64d31245f1c44cddf1.jpeg'
),
(
456
,
'334CQMRB'
,
'Françoise Anna'
,
'Dione'
,
1538921320
,
'francoiseanna.dione@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
457
,
'861MAUPH'
,
'soukeyna'
,
'faye'
,
1290902230
,
'soukeyna.faye@education.sn'
,
'https://apps.education.sn/images/profil/df98a12e8981145ab4d62731fa510f31.jpeg'
),
(
458
,
'939E7QQP'
,
'Seydy Ibrahima'
,
'Ly'
,
0
,
'seydiibrahima.ly@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
459
,
'486BN8J6'
,
'ALIOUNE'
,
'DIOP'
,
1553748820
,
'alioune.diop@education.sn'
,
'https://apps.education.sn/images/profil/d1dc2407711d85a1ff366d8a13a6037c.jpeg'
),
(
460
,
'806FKOZB'
,
'Amadou'
,
'COUNDOUL'
,
1290902230
,
'amadou.coundoul@education.sn'
,
'https://apps.education.sn/images/profil/d66cc001b11805870c0f62c550762b90.jpeg'
),
(
461
,
'948REHNH'
,
'AMY'
,
'SECK'
,
1579405730
,
'amy.seck28@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
462
,
'389EYNU3'
,
'AISSATOU'
,
'DIALLO'
,
0
,
'aissatou.diallo7@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
463
,
'683MMTXF'
,
'Alioune'
,
'GUEYE'
,
0
,
'alioune.gueye12@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
464
,
'974QRJ9B'
,
'Mouhamadou'
,
'THIAM'
,
0
,
'mouhamadou.thiam27@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
465
,
'469AY3YT'
,
'OUMOU KALSOUM'
,
'NIANG'
,
0
,
'oumoukalsoum.niang2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
466
,
'496E8KM8'
,
'Soda'
,
'GASSAMA'
,
0
,
'soda.gassama@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
467
,
'789X4T94'
,
'Mousse'
,
'SALL'
,
0
,
'mousse.sall@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
468
,
'946VPAYF'
,
'Mamadou'
,
'TOURE'
,
0
,
'mamadou.toure6@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
469
,
'684QB6XF'
,
'SERIGNE MANSOUR'
,
'GAYE'
,
0
,
'serignemansour.gaye2@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
470
,
'373C6ME9'
,
'Mamadou'
,
'Mbaye'
,
1832722740
,
'mamadou.mbaye1@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
473
,
'986ER8Y4'
,
'Diery'
,
'SEYE'
,
1290902230
,
'diery.seye@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
),
(
474
,
'84K66NYV'
,
'NAFISSATOU MOUHAMED'
,
'SOW'
,
1290902230
,
'nafissatoumouhamed.sow@education.sn'
,
'https://apps.education.sn/images/profil/female.png'
),
(
475
,
'67D3UEDJ'
,
'MAMADOU'
,
'DIOUF'
,
1290902230
,
'mamadou.diouf304@education.sn'
,
'https://apps.education.sn/images/profil/male.png'
);
-- --------------------------------------------------------
--
-- Structure de la table `sys_menu`
--
CREATE
TABLE
`sys_menu`
(
`id_menu`
int
(
11
)
NOT
NULL
,
`code`
varchar
(
100
)
NOT
NULL
,
`libelle`
varchar
(
100
)
NOT
NULL
,
`etat`
enum
(
'-1'
,
'1'
)
NOT
NULL
DEFAULT
'1'
,
`rang`
int
(
11
)
NOT
NULL
DEFAULT
1000
,
`date_last_modif`
timestamp
NOT
NULL
DEFAULT
current_timestamp
()
ON
UPDATE
current_timestamp
()
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Déchargement des données de la table `sys_menu`
--
INSERT
INTO
`sys_menu`
(
`id_menu`
,
`code`
,
`libelle`
,
`etat`
,
`rang`
,
`date_last_modif`
)
VALUES
(
1
,
'securite'
,
'Securite'
,
'1'
,
1000
,
'2018-05-16 12:12:17'
),
(
2
,
'parametrages'
,
'parametrages'
,
'1'
,
1001
,
'2018-05-16 12:11:19'
);
-- --------------------------------------------------------
--
-- Structure de la table `sys_sous_menu`
--
CREATE
TABLE
`sys_sous_menu`
(
`id_sous_menu`
int
(
11
)
NOT
NULL
,
`id_menu`
int
(
11
)
DEFAULT
NULL
,
`code`
varchar
(
100
)
NOT
NULL
,
`libelle`
varchar
(
100
)
NOT
NULL
,
`etat`
enum
(
'-1'
,
'1'
)
NOT
NULL
DEFAULT
'1'
,
`date_last_modif`
timestamp
NOT
NULL
DEFAULT
current_timestamp
()
ON
UPDATE
current_timestamp
()
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Déchargement des données de la table `sys_sous_menu`
--
INSERT
INTO
`sys_sous_menu`
(
`id_sous_menu`
,
`id_menu`
,
`code`
,
`libelle`
,
`etat`
,
`date_last_modif`
)
VALUES
(
28
,
1
,
'securite'
,
'securite'
,
'1'
,
'2018-05-16 12:19:09'
),
(
29
,
2
,
'parametrages'
,
'parametrages'
,
'1'
,
'2018-05-16 12:19:09'
);
-- --------------------------------------------------------
--
-- Structure de la table `sys_type_action`
--
CREATE
TABLE
`sys_type_action`
(
`id_actions`
int
(
11
)
NOT
NULL
,
`id_type_profil`
int
(
11
)
UNSIGNED
NOT
NULL
,
`id_sous_menu`
int
(
11
)
NOT
NULL
,
`d_read`
enum
(
'-1'
,
'1'
)
NOT
NULL
DEFAULT
'-1'
,
`d_add`
enum
(
'-1'
,
'1'
)
NOT
NULL
DEFAULT
'-1'
,
`d_upd`
enum
(
'-1'
,
'1'
)
NOT
NULL
DEFAULT
'-1'
,
`d_del`
enum
(
'-1'
,
'1'
)
NOT
NULL
DEFAULT
'-1'
,
`date_last_modif`
timestamp
NOT
NULL
DEFAULT
current_timestamp
()
ON
UPDATE
current_timestamp
()
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
-- --------------------------------------------------------
--
-- Structure de la table `sys_type_profil`
--
CREATE
TABLE
`sys_type_profil`
(
`id_type_profil`
int
(
10
)
UNSIGNED
NOT
NULL
,
`libelle_type_profil`
varchar
(
250
)
NOT
NULL
,
`etat`
enum
(
'1'
,
'-1'
)
NOT
NULL
DEFAULT
'1'
,
`date_last_modif`
timestamp
NOT
NULL
DEFAULT
current_timestamp
()
ON
UPDATE
current_timestamp
()
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
-- --------------------------------------------------------
--
-- Structure de la table `sys_user`
--
CREATE
TABLE
`sys_user`
(
`ien`
varchar
(
10
)
NOT
NULL
,
`id_profil`
int
(
10
)
UNSIGNED
NOT
NULL
,
`code_str`
bigint
(
20
)
NOT
NULL
,
`statut`
enum
(
'0'
,
'1'
)
NOT
NULL
DEFAULT
'1'
,
`date_last_modif`
timestamp
NULL
DEFAULT
current_timestamp
()
ON
UPDATE
current_timestamp
()
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Index pour les tables déchargées
--
--
-- Index pour la table `personnel`
--
ALTER
TABLE
`personnel`
ADD
PRIMARY
KEY
(
`id`
);
--
-- Index pour la table `sys_menu`
--
ALTER
TABLE
`sys_menu`
ADD
PRIMARY
KEY
(
`id_menu`
);
--
-- Index pour la table `sys_sous_menu`
--
ALTER
TABLE
`sys_sous_menu`
ADD
PRIMARY
KEY
(
`id_sous_menu`
),
ADD
UNIQUE
KEY
`id_menu_2`
(
`id_menu`
,
`code`
),
ADD
KEY
`id_menu`
(
`id_menu`
);
--
-- Index pour la table `sys_type_action`
--
ALTER
TABLE
`sys_type_action`
ADD
PRIMARY
KEY
(
`id_actions`
),
ADD
KEY
`id_sous_menu`
(
`id_sous_menu`
),
ADD
KEY
`id_type_profil`
(
`id_type_profil`
);
--
-- Index pour la table `sys_type_profil`
--
ALTER
TABLE
`sys_type_profil`
ADD
PRIMARY
KEY
(
`id_type_profil`
);
--
-- Index pour la table `sys_user`
--
ALTER
TABLE
`sys_user`
ADD
PRIMARY
KEY
(
`ien`
),
ADD
UNIQUE
KEY
`ien`
(
`ien`
),
ADD
KEY
`id_profil`
(
`id_profil`
);
--
-- AUTO_INCREMENT pour les tables déchargées
--
--
-- AUTO_INCREMENT pour la table `personnel`
--
ALTER
TABLE
`personnel`
MODIFY
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
476
;
--
-- AUTO_INCREMENT pour la table `sys_menu`
--
ALTER
TABLE
`sys_menu`
MODIFY
`id_menu`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
15
;
--
-- AUTO_INCREMENT pour la table `sys_sous_menu`
--
ALTER
TABLE
`sys_sous_menu`
MODIFY
`id_sous_menu`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
36
;
--
-- AUTO_INCREMENT pour la table `sys_type_action`
--
ALTER
TABLE
`sys_type_action`
MODIFY
`id_actions`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
23
;
--
-- AUTO_INCREMENT pour la table `sys_type_profil`
--
ALTER
TABLE
`sys_type_profil`
MODIFY
`id_type_profil`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
8
;
--
-- Contraintes pour les tables déchargées
--
--
-- Contraintes pour la table `sys_sous_menu`
--
ALTER
TABLE
`sys_sous_menu`
ADD
CONSTRAINT
`sys_sous_menu_ibfk_1`
FOREIGN
KEY
(
`id_menu`
)
REFERENCES
`sys_menu`
(
`id_menu`
);
--
-- Contraintes pour la table `sys_type_action`
--
ALTER
TABLE
`sys_type_action`
ADD
CONSTRAINT
`sys_type_action_ibfk_1`
FOREIGN
KEY
(
`id_type_profil`
)
REFERENCES
`sys_type_profil`
(
`id_type_profil`
),
ADD
CONSTRAINT
`sys_type_action_ibfk_2`
FOREIGN
KEY
(
`id_sous_menu`
)
REFERENCES
`sys_sous_menu`
(
`id_sous_menu`
);
--
-- Contraintes pour la table `sys_user`
--
ALTER
TABLE
`sys_user`
ADD
CONSTRAINT
`sys_user_ibfk_1`
FOREIGN
KEY
(
`id_profil`
)
REFERENCES
`sys_type_profil`
(
`id_type_profil`
);
COMMIT
;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */
;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */
;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
This diff is collapsed.
Click to expand it.
application/config/database.php
View file @
8db6b42f
...
...
@@ -78,7 +78,7 @@ $db['default'] = array(
'hostname'
=>
'localhost'
,
'username'
=>
'root'
,
'password'
=>
''
,
'database'
=>
''
,
'database'
=>
'
inspinia_ci3
'
,
'dbdriver'
=>
'mysqli'
,
'dbprefix'
=>
''
,
'pconnect'
=>
FALSE
,
...
...
This diff is collapsed.
Click to expand it.
application/controllers/sys/C_sys_menu.php
0 → 100644
View file @
8db6b42f
<?php
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
class
C_sys_menu
extends
MY_Controller
{
public
function
__construct
()
{
parent
::
__construct
();
$this
->
load
->
model
(
'sys/M_sys_menu'
,
'menu'
);
$this
->
load
->
model
(
'sys/M_sys_sous_menu'
,
'sous_menu'
);
$this
->
load
->
model
(
'sys/M_sys_role'
,
'role'
);
// $this->load->helper('form');
}
public
function
index
()
{
$menu_liste
=
$this
->
menu
->
get_menu_liste
();
$data
[
'menu_liste'
]
=
$menu_liste
;
$this
->
load
->
view
(
'sys/V_sys_menu'
,
$data
);
}
public
function
list_menu
()
{
$data
[
'menu_liste'
]
=
$this
->
menu
->
get_active_data
();
$this
->
load
->
view
(
'sys/V_list_menu'
,
$data
);
}
public
function
get_record_menu
()
{
$args
=
func_get_args
();
$this
->
menu
->
id_menu
=
$args
[
0
];
$this
->
menu
->
get_record
();
echo
json_encode
(
$this
->
menu
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
save_menu
()
{
if
(
$this
->
input
->
post
(
'id_menu'
)
!=
''
)
$this
->
menu
->
id_menu
=
$this
->
input
->
post
(
'id_menu'
);
$this
->
menu
->
code
=
$this
->
input
->
post
(
'code'
);
$this
->
menu
->
libelle
=
$this
->
input
->
post
(
'libelle'
);
$this
->
menu
->
etat
=
'1'
;
echo
json_encode
(
$this
->
menu
->
save
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
delete_menu
()
{
$args
=
func_get_args
();
$list_sous_menu
=
$this
->
sous_menu
->
get_list_sous_menu
(
$args
[
0
]);
foreach
(
$list_sous_menu
as
$sous_menu
)
{
$this
->
delete_sous_menu
(
$sous_menu
->
{
$this
->
sous_menu
->
get_db_table_pk
()});
}
$this
->
menu
->
id_menu
=
$args
[
0
];
echo
json_encode
(
$this
->
menu
->
fake_delete
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
delete_sous_menu
(
$id_sous_menu
)
{
$this
->
role
->
delete_all
(
$id_sous_menu
);
$this
->
sous_menu
->
id_sous_menu
=
$id_sous_menu
;
echo
json_encode
(
$this
->
sous_menu
->
fake_delete
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
list_sous_menu
()
{
$data_menu
=
$this
->
menu
->
get_data
();
$data
[
'select_data_menu'
]
=
create_select_list
(
$data_menu
,
'id_menu'
,
'libelle'
);
$data
[
'sous_menu_liste'
]
=
$this
->
sous_menu
->
get_active_data
();
$this
->
load
->
view
(
'sys/V_list_sous_menu'
,
$data
);
}
public
function
get_record_sous_menu
()
{
$args
=
func_get_args
();
$this
->
sous_menu
->
id_sous_menu
=
$args
[
0
];
$this
->
sous_menu
->
get_record
();
echo
json_encode
(
$this
->
sous_menu
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
save_sous_menu
()
{
$id_menu
=
$this
->
input
->
post
(
'id_sous_menu'
);
if
(
isset
(
$id_menu
)
&&
$id_menu
!=
""
)
$this
->
sous_menu
->
id_sous_menu
=
$this
->
input
->
post
(
'id_sous_menu'
);
$this
->
sous_menu
->
id_menu
=
$this
->
input
->
post
(
'id_menu'
);
$this
->
sous_menu
->
code
=
$this
->
input
->
post
(
'code'
);
$this
->
sous_menu
->
libelle
=
$this
->
input
->
post
(
'libelle'
);
$this
->
sous_menu
->
etat
=
'1'
;
echo
json_encode
(
$this
->
sous_menu
->
save
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
}
This diff is collapsed.
Click to expand it.
application/controllers/sys/C_sys_niits.php
0 → 100644
View file @
8db6b42f
<?php
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
class
C_sys_niits
extends
MY_Controller
{
public
function
__construct
()
{
parent
::
__construct
();
$this
->
load
->
model
(
'sys/M_sys_niits'
,
'user'
);
$this
->
load
->
model
(
'sys/M_sys_profil'
,
'profil'
);
}
public
function
index
()
{
$user_data
=
$this
->
user
->
get_data
();
$data
[
'all_data'
]
=
$user_data
;
$profil
=
$this
->
profil
->
get_data
();
$data
[
'select_profile'
]
=
create_select_list
(
$profil
,
'id_type_profil'
,
'libelle_type_profil'
);
$this
->
load
->
view
(
'sys/V_sys_niits'
,
$data
);
}
public
function
save
()
{
if
(
$this
->
input
->
post
(
'id'
)
!=
''
)
$this
->
user
->
id
=
$this
->
input
->
post
(
'id'
);
$this
->
user
->
ien
=
$this
->
input
->
post
(
'ien'
);
$this
->
user
->
email
=
$this
->
input
->
post
(
'email'
);
$this
->
user
->
id_profil
=
$this
->
input
->
post
(
'id_profil'
);
$this
->
user
->
code_str
=
$this
->
input
->
post
(
'code_str'
);
$this
->
user
->
password
=
$this
->
input
->
post
(
'password'
);
$this
->
user
->
statut
=
$this
->
input
->
post
(
'statut'
);
echo
json_encode
(
$this
->
user
->
save
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
get_record
()
{
$args
=
func_get_args
();
$this
->
user
->
id
=
$args
[
0
];
$this
->
user
->
get_record
();
echo
json_encode
(
$this
->
user
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
delete
()
{
$args
=
func_get_args
();
$this
->
user
->
id
=
$args
[
0
];
echo
json_encode
(
$this
->
user
->
delete
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
}
This diff is collapsed.
Click to expand it.
application/controllers/sys/C_sys_profil.php
0 → 100644
View file @
8db6b42f
<?php
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
class
C_sys_profil
extends
MY_Controller
{
//Initialisation des roles à -1
var
$tab_post_role
=
array
(
'-1'
,
'-1'
,
'-1'
,
'-1'
);
public
function
__construct
()
{
parent
::
__construct
();
$this
->
load
->
model
(
'sys/M_sys_profil'
,
'profil'
);
$this
->
load
->
model
(
'sys/M_sys_role'
,
'role'
);
}
public
function
index
()
{
$all_data
=
$this
->
profil
->
get_data
();
$data
[
'all_data'
]
=
$all_data
;
$this
->
load
->
view
(
'sys/V_sys_profil'
,
$data
);
}
public
function
get_menu_liste
()
{
$args
=
func_get_args
();
$data
[
'data_menu'
]
=
$this
->
role
->
get_menu_liste
(
$args
[
0
]);
$data
[
'id_profil'
]
=
$args
[
0
];
$this
->
load
->
view
(
'sys/V_sys_role'
,
$data
);
}
public
function
save_role_action
()
{
//Repérage des liens
$cur_id_lk
=
0
;
$tab_temp_role
=
array
();
$id_pfl
=
$this
->
input
->
post
(
'id_role_profil'
);
///RAZ des sous-menus associés au profil
$this
->
role
->
raz_sous_menu_active
(
$id_pfl
);
//print_r($_POST['btn_role']);
//exit;
foreach
(
$_POST
[
'btn_role'
]
as
$btn_role
)
{
$tab_role
=
explode
(
'_'
,
$btn_role
);
$role
=
$tab_role
[
0
];
$id_lk
=
$tab_role
[
1
];
if
(
$cur_id_lk
!=
$id_lk
)
//Chagement de lien
{
if
(
$cur_id_lk
!=
0
)
///Passage Nx
{
$this
->
role
->
save_role_action
(
$cur_id_lk
,
$id_pfl
,
$this
->
tab_post_role
);
$this
->
tab_post_role
=
array
(
'-1'
,
'-1'
,
'-1'
,
'-1'
);
$this
->
tab_post_role
=
$this
->
curent_role
(
$role
,
$this
->
tab_post_role
);
}
else
//Passage N0
{
$this
->
tab_post_role
=
$this
->
curent_role
(
$role
,
$this
->
tab_post_role
);
}
$cur_id_lk
=
$id_lk
;
}
else
{
$this
->
tab_post_role
=
$this
->
curent_role
(
$role
,
$this
->
tab_post_role
);
}
}
if
(
$cur_id_lk
!=
0
)
///On est pas au premier parcours
{
$d
=
$this
->
role
->
save_role_action
(
$cur_id_lk
,
$id_pfl
,
$this
->
tab_post_role
);
$this
->
tab_post_role
=
array
(
'-1'
,
'-1'
,
'-1'
,
'-1'
);
}
echo
json_encode
(
$d
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
//Enregistrer les modifs sur les roles
protected
function
curent_role
(
$role
,
$tab_role
)
{
switch
(
$role
)
{
case
'read'
:
$tab_role
[
0
]
=
'1'
;
break
;
case
'add'
:
$tab_role
[
1
]
=
'1'
;
break
;
case
'upd'
:
$tab_role
[
2
]
=
'1'
;
break
;
case
'del'
:
$tab_role
[
3
]
=
'1'
;
break
;
}
return
$tab_role
;
}
public
function
get_record
()
{
$args
=
func_get_args
();
$this
->
profil
->
id_type_profil
=
$args
[
0
];
$this
->
profil
->
get_record
();
echo
json_encode
(
$this
->
profil
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
delete
()
{
$args
=
func_get_args
();
$this
->
profil
->
id_type_profil
=
$args
[
0
];
echo
json_encode
(
$this
->
profil
->
delete
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
save
()
{
$post_id_type_profil
=
$this
->
input
->
post
(
'id_type_profil'
);
if
(
$post_id_type_profil
!=
''
)
{
$this
->
profil
->
id_type_profil
=
$this
->
input
->
post
(
'id_type_profil'
);
}
$this
->
profil
->
libelle_type_profil
=
$this
->
input
->
post
(
'libelle_type_profil'
);
$this
->
profil
->
etat
=
'1'
;
//$this->input->post('etat');
echo
json_encode
(
$this
->
profil
->
save
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
change_etat
()
{
$args
=
func_get_args
();
//var_dump($args);exit;
$id_profil
=
$args
[
0
];
$statut
=
$args
[
1
];
$this
->
profil
->
etat_change
(
$id_profil
,
$statut
);
$all_data
=
$this
->
profil
->
get_data
();
$data
[
'all_data'
]
=
$all_data
;;
$this
->
load
->
view
(
'sys/V_sys_profil'
,
$data
);
}
}
This diff is collapsed.
Click to expand it.
application/controllers/sys/C_sys_role.php
0 → 100644
View file @
8db6b42f
<?php
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
class
C_sys_role
extends
CI_Controller
//r�les && links
{
public
function
__construct
()
{
parent
::
__construct
();
$this
->
load
->
model
(
'sys/M_sys_role'
,
'm_mod_name'
);
$this
->
load
->
model
(
'Global_bdd'
,
'gl_bdd'
);
//$this->load->model('M_type_batiment', 'type_batiment');
}
public
function
index
()
{
$all_data
=
$this
->
m_mod_name
->
get_data_liste
();
$all_type_status
=
$this
->
m_mod_name
->
get_data_forform_etat
();
$data
[
'all_data'
]
=
$all_data
;
// $data['all_type_elts'] = $all_type_elts;
$data
[
'dat_form_statut'
]
=
$all_type_status
;
$data
[
'dat_form_liens'
]
=
$this
->
gl_bdd
->
get_data_for_combo
(
"sys_nav_liens"
,
"id_lien"
,
"libelle_text"
,
" WHERE `etat`='1'"
);
$data
[
'dat_form_profils'
]
=
$this
->
gl_bdd
->
get_data_for_combo
(
"sys_s_profil"
,
"id_type_profil"
,
"libelle_type_profil"
,
" WHERE `etat`='1'"
);
$this
->
load
->
view
(
'sys/v_sys_role'
,
$data
);
}
public
function
get_record
()
{
$args
=
func_get_args
();
$this
->
m_mod_name
->
id_actions
=
$args
[
0
];
$this
->
m_mod_name
->
get_record
();
echo
json_encode
(
$this
->
m_mod_name
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
delete
()
{
$args
=
func_get_args
();
$this
->
m_mod_name
->
id_actions
=
$args
[
0
];
echo
json_encode
(
$this
->
m_mod_name
->
delete
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
save
()
{
$input_post
=
$this
->
input
->
post
(
'id_actions'
);
if
(
!
empty
(
$input_post
))
{
$this
->
m_mod_name
->
id_actions
=
$this
->
input
->
post
(
'id_actions'
);
}
//print_r($this->input->post('d_ajouter'));
//break;
$this
->
m_mod_name
->
id_type_profil
=
$this
->
input
->
post
(
'id_type_profil'
);
$this
->
m_mod_name
->
id_lien
=
$this
->
input
->
post
(
'id_lien'
);
$this
->
m_mod_name
->
d_consultation
=
$this
->
conv_checkbox
(
$this
->
input
->
post
(
'd_consultation'
));
$this
->
m_mod_name
->
d_ajouter
=
$this
->
conv_checkbox
(
$this
->
input
->
post
(
'd_ajouter'
));
$this
->
m_mod_name
->
d_modifier
=
$this
->
conv_checkbox
(
$this
->
input
->
post
(
'd_modifier'
));
$this
->
m_mod_name
->
d_supprimer
=
$this
->
conv_checkbox
(
$this
->
input
->
post
(
'd_supprimer'
));
echo
json_encode
(
$this
->
m_mod_name
->
save
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
conv_checkbox
(
$val
)
{
if
(
$val
==
'on'
)
return
'1'
;
else
return
'-1'
;
}
}
This diff is collapsed.
Click to expand it.
application/controllers/sys/C_sys_stagiaire.php
0 → 100644
View file @
8db6b42f
<?php
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
class
C_sys_stagiaire
extends
MY_Controller
{
public
function
__construct
()
{
parent
::
__construct
();
$this
->
load
->
model
(
'sys/M_sys_profil'
,
'profil'
);
$this
->
load
->
model
(
'M_personnel'
,
'personnel'
);
$this
->
load
->
model
(
'M_structure'
,
'structure'
);
$this
->
load
->
helper
(
'string'
);
//$this->load->model('M_table_param');
}
public
function
index
()
{
$user_data
=
$this
->
personnel
->
get_stagiaire
();
$data
[
'all_data'
]
=
$user_data
;
$structure
=
$this
->
structure
->
get_data
();
$data
[
'select_code_str'
]
=
create_select_list
(
$structure
,
'code_str'
,
'libelle'
);
$this
->
load
->
view
(
'sys/V_sys_stagiaire'
,
$data
);
}
public
function
save_stagiaire
()
{
if
(
$this
->
input
->
post
(
'id'
)
!=
''
)
{
$this
->
personnel
->
id
=
$this
->
input
->
post
(
'id'
);
$this
->
personnel
->
ien
=
$this
->
input
->
post
(
'ien'
);
$this
->
personnel
->
prenom
=
$this
->
input
->
post
(
'prenom'
);
$this
->
personnel
->
nom
=
$this
->
input
->
post
(
'nom'
);
$this
->
personnel
->
code_str
=
$this
->
input
->
post
(
'code_str'
);
$this
->
personnel
->
email_pro
=
$this
->
input
->
post
(
'email_pro'
);
echo
json_encode
(
$this
->
personnel
->
save
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
else
{
$ien
=
generer_ien_stg
();
$this
->
personnel
->
ien
=
$ien
;
$this
->
personnel
->
prenom
=
$this
->
input
->
post
(
'prenom'
);
$this
->
personnel
->
nom
=
$this
->
input
->
post
(
'nom'
);
$this
->
personnel
->
code_str
=
$this
->
input
->
post
(
'code_str'
);
$this
->
personnel
->
email_pro
=
$this
->
input
->
post
(
'email_pro'
);
$this
->
personnel
->
etat
=
1
;
echo
json_encode
(
$this
->
personnel
->
save
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
}
public
function
get_record
()
{
$args
=
func_get_args
();
$this
->
personnel
->
id
=
$args
[
0
];
$this
->
personnel
->
get_record
();
echo
json_encode
(
$this
->
personnel
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
delete
()
{
$args
=
func_get_args
();
$this
->
personnel
->
id
=
$args
[
0
];
$this
->
personnel
->
id
=
$args
[
0
];
$this
->
personnel
->
delete
();
echo
json_encode
(
$this
->
personnel
->
delete
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
}
This diff is collapsed.
Click to expand it.
application/controllers/sys/C_sys_user.php
0 → 100644
View file @
8db6b42f
<?php
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
class
C_sys_user
extends
MY_Controller
{
public
function
__construct
()
{
parent
::
__construct
();
$this
->
load
->
model
(
'sys/M_sys_user'
,
'user'
);
$this
->
load
->
model
(
'sys/M_sys_profil'
,
'profil'
);
$this
->
load
->
model
(
'M_personnel'
,
'pers'
);
//$this->load->model('M_table_param');
}
public
function
index
()
{
$user_data
=
$this
->
user
->
get_data
();
$data
[
'all_data'
]
=
$user_data
;
//var_dump($data['all_data']);
$profil
=
$this
->
profil
->
get_data
();
$data
[
'select_profile'
]
=
create_select_list
(
$profil
,
'id_type_profil'
,
'libelle_type_profil'
);
$this
->
load
->
view
(
'sys/V_sys_user'
,
$data
);
}
public
function
save
()
{
$ien
=
trim
(
$this
->
input
->
post
(
'ien'
));
if
(
!
empty
(
$this
->
user
->
verif_ienusr
(
$ien
)))
{
$d
=
array
(
"status"
=>
"error"
,
"message"
=>
"Ien deja utilisateur"
);
echo
json_encode
(
$d
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
die
();
}
$info
=
file_get_contents
(
"http://apps.education.sn/C_personnel_api/getIEN_info_all?ien="
.
$ien
);
$infos
=
json_decode
(
$info
,
true
)
;
if
(
$infos
[
"code"
]
==
1
or
$info
==
false
)
{
$d
=
array
(
"status"
=>
"error"
,
"message"
=>
"Ien introuvable"
);
echo
json_encode
(
$d
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
die
();
}
$infos
=
$infos
[
"record"
];
if
(
empty
(
$this
->
pers
->
get_personnel_ien
(
$ien
)))
{
$this
->
pers
->
ien
=
$ien
;
$this
->
pers
->
prenom
=
$infos
[
"prenom"
];
$this
->
pers
->
nom
=
$infos
[
"nom"
];
$this
->
pers
->
code_str
=
$infos
[
"code_str"
];
$this
->
pers
->
email_pro
=
$infos
[
"email_pro"
];
$this
->
pers
->
save
();
}
//var_dump($infos);exit();
// echo json_encode($this->pers->save(), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP);exit();
$this
->
user
->
ien
=
$ien
;
$this
->
user
->
id_profil
=
$this
->
input
->
post
(
'id_profil'
);
$this
->
user
->
code_str
=
$infos
[
"code_str"
];
$this
->
user
->
statut
=
'1'
;
echo
json_encode
(
$this
->
user
->
save
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
get_record
()
{
$args
=
func_get_args
();
$this
->
user
->
ien
=
$args
[
0
];
$this
->
user
->
get_record
();
echo
json_encode
(
$this
->
user
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
delete
()
{
$args
=
func_get_args
();
$this
->
pers
->
id
=
$args
[
0
];
$this
->
user
->
id
=
$args
[
0
];
$this
->
user
->
delete
();
echo
json_encode
(
$this
->
pers
->
delete
(),
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
public
function
tout_activer
()
{
//var_dump($_POST);exit;
$tab
=
$_POST
[
'id_checks'
];
$statut
=
'1'
;
if
(
$_POST
[
'id_checks'
]
==
null
)
{
// $d=array("status" => "error", "message" =>"Veuillez selectionner les profil à activer !" );
// echo json_encode($d, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP);
echo
json_encode
(
$tab
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
die
();
}
else
{
foreach
(
$tab
as
$value
)
{
$this
->
user
->
change_etat
(
$value
,
$statut
);
}
// $d=array("status" => "success", "message" =>"Les profils sélectionnés sont activés !" );
// echo json_encode($d, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP);
echo
json_encode
(
$tab
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
die
();
}
}
public
function
tout_desactiver
()
{
//var_dump($_POST);exit;
$tab
=
$_POST
[
'id_checks'
];
$statut
=
'-1'
;
if
(
$_POST
[
'id_checks'
]
==
null
)
{
echo
json_encode
(
$tab
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
die
();
}
else
{
foreach
(
$tab
as
$value
)
{
$this
->
user
->
change_etat
(
$value
,
$statut
);
}
echo
json_encode
(
$tab
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
die
();
}
}
public
function
generer_code
()
{
$chaine
=
"0123456789"
;
srand
((
double
)
microtime
()
*
1000000
);
$code
=
''
;
for
(
$i
=
0
;
$i
<
4
;
$i
++
)
{
$code
.=
$chaine
[
rand
()
%
strlen
(
$chaine
)];
}
return
$code
;
}
public
function
reset_pw
()
{
$args
=
func_get_args
();
$id
=
$args
[
0
];
$tel
=
$this
->
user
->
get_tel_by_id
(
$id
);
$email
=
$this
->
user
->
get_email_by_id
(
$id
);
$code_acces
=
$this
->
generer_code
();
$result
=
$this
->
user
->
pw_reset
(
$id
,
$code_acces
);
if
(
$result
[
'status'
]
==
'success'
)
{
$message
=
"<table cellpadding='5' cellspacing='5'>
<tr>
<td>Votre identifiant :</td><td><b>"
.
$tel
.
"</b></td>
</tr>
<tr>
<td>Mot de passe :</td><td><b>"
.
$code_acces
.
"</b></td>
</tr>
</table>"
;
$signature
=
"SYSGERM"
;
$objet
=
"SYSGERM: Réinitialisation compte utilisateur"
;
$testmail
=
sendmail
(
$signature
,
$email
,
$objet
,
$message
);
}
echo
json_encode
(
$result
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
}
}
This diff is collapsed.
Click to expand it.
application/core/MY_Controller.php
0 → 100644
View file @
8db6b42f
<?php
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
class
MY_Controller
extends
CI_Controller
{
public
function
__construct
()
{
parent
::
__construct
();
$this
->
the_session_expired
();
date_default_timezone_set
(
'UTC'
);
}
private
function
the_session_expired
()
{
$tab_data_ses
=
$this
->
session
->
all_userdata
();
if
(
empty
(
$tab_data_ses
[
'tel'
]))
{
$this
->
session
->
sess_destroy
();
header
(
"Location:"
.
base_url
());
exit
();
}
else
{
return
1
;
}
}
}
This diff is collapsed.
Click to expand it.
application/core/MY_Model.php
0 → 100644
View file @
8db6b42f
<?php
require_once
'application/core/MY_Model_Interface.php'
;
abstract
class
MY_Model
extends
CI_Model
implements
MY_Model_Interface
{
function
__construct
(
$db_select
=
null
)
{
parent
::
__construct
();
//Load them in the constructor
if
(
!
defined
(
'DB_USER'
)
||
!
defined
(
'DB_PWD'
)
||
!
defined
(
'DB_DATABASE'
)
||
!
defined
(
'DB_HOST'
))
:
define
(
'DB_USER'
,
$this
->
db
->
username
);
define
(
'DB_PWD'
,
$this
->
db
->
password
);
define
(
'DB_DATABASE'
,
$this
->
db
->
database
);
define
(
'DB_HOST'
,
$this
->
db
->
hostname
);
endif
;
if
(
empty
(
$db_select
))
$db_string
=
$this
->
select_db
();
else
$db_string
=
$db_select
;
$this
->
db
=
$this
->
load
->
database
(
$db_string
,
TRUE
);
// $this->dbp = $this->load->database('planete', TRUE);
//$this->dbm = $this->load->database('planete_management', TRUE);
}
public
function
select_db
(){
return
'default'
;
}
public
function
fake_delete
()
{
$this
->
db
->
where
(
$this
->
get_db_table_pk
(),
$this
->
{
$this
->
get_db_table_pk
()});
$this
->
db
->
update
(
$this
->
get_db_table
(),
array
(
$this
->
get_db_table_etat
()
=>
'-1'
));
if
(
$this
->
db
->
trans_status
()
===
FALSE
)
{
$status
=
'error'
;
$result
=
'Error! ID ['
.
$this
->
{
$this
->
get_db_table_pk
()}
.
'] not found'
;
}
else
{
$status
=
'success'
;
$result
=
'Suppression effectuée avec succées.'
;
}
$d
=
array
();
$d
[
'status'
]
=
$status
;
$d
[
'message'
]
=
$result
;
return
$d
;
}
public
function
restor
()
{
$this
->
db
->
where
(
$this
->
get_db_table_pk
(),
$this
->
{
$this
->
get_db_table_pk
()});
$this
->
db
->
update
(
$this
->
get_db_table
(),
array
(
$this
->
get_db_table_etat
()
=>
'1'
));
if
(
$this
->
db
->
trans_status
()
===
FALSE
)
{
$status
=
'error'
;
$result
=
'Error! ID ['
.
$this
->
{
$this
->
get_db_table_pk
()}
.
'] not found'
;
}
else
{
$status
=
'success'
;
$result
=
'Restauration effectuée avec succées.'
;
}
$d
=
array
();
$d
[
'status'
]
=
$status
;
$d
[
'message'
]
=
$result
;
return
$d
;
}
public
function
get_etat
(
$code
)
{
$sql
=
"SELECT "
.
$this
->
get_db_table_etat
()
.
"
FROM "
.
$this
->
get_db_table
()
.
"
WHERE "
.
$this
->
get_db_table_pk
()
.
" ='"
.
$code
.
"'"
;
$query
=
$this
->
db
->
query
(
$sql
);
return
array_values
(
$query
->
row_array
());
}
private
function
insert
()
{
$this
->
db
->
insert
(
$this
->
get_db_table
(),
$this
);
if
(
!
empty
(
$this
->
get_db_table_pk
())){
$this
->
{
$this
->
get_db_table_pk
()}
=
$this
->
db
->
insert_id
();
return
$this
->
{
$this
->
get_db_table_pk
()};
}
else
{
return
''
;
}
}
private
function
update
()
{
$this
->
db
->
update
(
$this
->
get_db_table
(),
$this
,
array
(
$this
->
get_db_table_pk
()
=>
$this
->
{
$this
->
get_db_table_pk
()}
));
return
$this
->
{
$this
->
get_db_table_pk
()};
}
public
function
save
()
{
if
(
isset
(
$this
->
{
$this
->
get_db_table_pk
()})
&&
!
empty
(
$this
->
get_db_table_pk
())
){
$id
=
$this
->
update
();
}
else
{
$id
=
$this
->
insert
();
}
if
(
$this
->
db
->
trans_status
()
===
FALSE
)
{
$status
=
'error'
;
$result
=
'Erreur d\'enregistrement.'
;
}
else
{
$status
=
'success'
;
$result
=
'Enregistrement effectué avec succées.'
;
}
$d
=
array
();
$d
[
'id'
]
=
$id
;
$d
[
'status'
]
=
$status
;
$d
[
'message'
]
=
$result
;
return
$d
;
}
//ingored null
private
function
insert_without_null
(){
foreach
(
$this
as
$key
=>
$value
){
if
(
$value
==
null
&&
$key
!=
$this
->
{
$this
->
get_db_table_pk
()})
unset
(
$this
->
$key
);
}
$this
->
db
->
insert
(
$this
->
get_db_table
(),
$this
);
$this
->
{
$this
->
get_db_table_pk
()}
=
$this
->
db
->
insert_id
();
return
$this
->
{
$this
->
get_db_table_pk
()};
}
private
function
update_without_null
(){
foreach
(
$this
as
$key
=>
$value
){
if
(
$value
==
null
&&
$key
!=
$this
->
{
$this
->
get_db_table_pk
()})
unset
(
$this
->
$key
);
}
$this
->
db
->
update
(
$this
->
get_db_table
(),
$this
,
array
(
$this
->
get_db_table_pk
()
=>
$this
->
{
$this
->
get_db_table_pk
()}
));
return
$this
->
{
$this
->
get_db_table_pk
()};
}
public
function
save_without_null
(){
if
(
isset
(
$this
->
{
$this
->
get_db_table_pk
()})){
$id
=
$this
->
update_without_null
();
}
else
{
$id
=
$this
->
insert_without_null
();
}
if
(
$this
->
db
->
trans_status
()
===
FALSE
)
{
$status
=
'error'
;
$result
=
'Erreur d\'enregistrement.'
;
}
else
{
$status
=
'success'
;
$result
=
'Enregistrement effectué avec succées.'
;
}
$d
=
array
();
$d
[
'id'
]
=
$id
;
$d
[
'status'
]
=
$status
;
$d
[
'message'
]
=
$result
;
return
$d
;
}
public
function
delete
(){
$this
->
db
->
delete
(
$this
->
get_db_table
(),
array
(
$this
->
get_db_table_pk
()
=>
$this
->
{
$this
->
get_db_table_pk
()}));
if
(
$this
->
db
->
trans_status
()
===
FALSE
)
{
$status
=
'error'
;
$result
=
'Error! ID ['
.
$this
->
{
$this
->
get_db_table_pk
()}
.
'] not found'
;
}
else
{
$status
=
'success'
;
$result
=
'Suppression effectuée avec succées.'
;
}
$d
=
array
();
$d
[
'status'
]
=
$status
;
$d
[
'message'
]
=
$result
;
return
$d
;
}
public
function
get_data
()
{
return
$this
->
db
->
select
(
'*'
)
->
from
(
$this
->
get_db_table
())
->
get
()
->
result
();
}
public
function
get_active_data
()
{
if
(
$this
->
get_db_table_etat
())
{
return
$this
->
db
->
select
(
'*'
)
->
from
(
$this
->
get_db_table
())
->
where
(
$this
->
get_db_table_etat
(),
'1'
)
->
get
()
->
result
();
}
else
{
$this
->
get_active_data
();
}
}
public
function
get_record
(){
$row
=
$this
->
db
->
select
(
'*'
)
->
from
(
$this
->
get_db_table
())
->
where
(
$this
->
get_db_table_pk
(),
$this
->
{
$this
->
get_db_table_pk
()})
->
get
()
->
result
();
$row
=
reset
(
$row
);
if
(
$row
==
null
)
$this
->
{
$this
->
get_db_table_pk
()}
=
null
;
else
foreach
(
$row
as
$param
=>
$value
){
$this
->
{
$param
}
=
$value
;
}
}
public
function
get_active_record
()
{
$row
=
$this
->
db
->
select
(
'*'
)
->
from
(
$this
->
get_db_table
())
->
where
(
$this
->
get_db_table_pk
(),
$this
->
{
$this
->
get_db_table_pk
()})
->
where
(
$this
->
get_db_table_etat
(),
'1'
)
->
get
()
->
result
();
$row
=
reset
(
$row
);
if
(
$row
==
null
)
$this
->
{
$this
->
get_db_table_pk
()}
=
null
;
else
foreach
(
$row
as
$param
=>
$value
)
{
$this
->
{
$param
}
=
$value
;
}
}
public
function
get_id_
()
{
return
$this
->
db
->
select
(
'*'
)
->
from
(
$this
->
get_vf_table
())
->
where
(
$this
->
get_vf_table_pk
(),
$this
->
{
$this
->
get_vf_table_pk
()})
->
get
()
->
result
();
}
public
function
check_unique_field
(
$table
,
$col_name
,
$val_to_search
,
$extraWhere
=
null
)
{
$sql
=
"SELECT
$col_name
FROM
$table
WHERE
$col_name
='"
.
trim
(
$val_to_search
)
.
"'"
;
if
(
$extraWhere
!=
null
&&
$extraWhere
!=
''
)
$sql
.=
" AND
$extraWhere
"
;
$row
=
$this
->
db
->
query
(
$sql
)
->
row
();
if
(
!
empty
(
$row
))
{
$d
=
array
();
$d
[
'status'
]
=
'error'
;
$d
[
'message'
]
=
"La valeur "
.
$val_to_search
.
" existe déjà."
;
echo
json_encode
(
$d
,
JSON_HEX_TAG
|
JSON_HEX_APOS
|
JSON_HEX_QUOT
|
JSON_HEX_AMP
);
exit
();
die
();
}
}
}
This diff is collapsed.
Click to expand it.
application/core/MY_Model_Interface.php
0 → 100644
View file @
8db6b42f
<?php
interface
MY_Model_Interface
{
public
function
get_db_table
();
public
function
get_db_table_pk
();
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
application/core/ssp.customized.class.php
0 → 100644
View file @
8db6b42f
<?php
/*
* Helper functions for building a DataTables server-side processing SQL query
*
* The static functions in this class are just helper functions to help build
* the SQL used in the DataTables demo server-side processing scripts. These
* functions obviously do not represent all that can be done with server-side
* processing, they are intentionally simple to show how it works. More complex
* server-side processing operations will likely require a custom script.
*
* See http://datatables.net/usage/server-side for full details on the server-
* side processing requirements of DataTables.
*
* @license MIT - http://datatables.net/license_mit
*/
// REMOVE THIS BLOCK - used for DataTables test environment only!
class
SSP
{
static
$sql_details
=
array
(
'user'
=>
DB_USER
,
'pass'
=>
DB_PWD
,
'db'
=>
DB_DATABASE
,
'host'
=>
DB_HOST
);
static
function
data_output
(
$columns
,
$data
,
$isJoin
=
false
)
{
$out
=
array
();
for
(
$i
=
0
,
$ien
=
count
(
$data
)
;
$i
<
$ien
;
$i
++
)
{
$row
=
array
();
for
(
$j
=
0
,
$jen
=
count
(
$columns
)
;
$j
<
$jen
;
$j
++
)
{
$column
=
$columns
[
$j
];
// Is there a formatter?
if
(
isset
(
$column
[
'formatter'
]
)
)
{
$row
[
$column
[
'dt'
]
]
=
(
$isJoin
)
?
$column
[
'formatter'
](
$data
[
$i
][
$column
[
'field'
]
],
$data
[
$i
]
)
:
$column
[
'formatter'
](
$data
[
$i
][
$column
[
'db'
]
],
$data
[
$i
]
);
}
else
{
$row
[
$column
[
'dt'
]
]
=
(
$isJoin
)
?
$data
[
$i
][
$columns
[
$j
][
'field'
]
]
:
$data
[
$i
][
$columns
[
$j
][
'db'
]
];
}
}
$out
[]
=
$row
;
}
return
$out
;
}
/**
* Paging
*
* Construct the LIMIT clause for server-side processing SQL query
*
* @param array $request Data sent to server by DataTables
* @param array $columns Column information array
* @return string SQL limit clause
*/
static
function
limit
(
$request
,
$columns
)
{
$limit
=
''
;
if
(
isset
(
$request
[
'start'
])
&&
$request
[
'length'
]
!=
-
1
)
{
$limit
=
"LIMIT "
.
intval
(
$request
[
'start'
])
.
", "
.
intval
(
$request
[
'length'
]);
}
return
$limit
;
}
/**
* Ordering
*
* Construct the ORDER BY clause for server-side processing SQL query
*
* @param array $request Data sent to server by DataTables
* @param array $columns Column information array
* @param bool $isJoin Determine the the JOIN/complex query or simple one
*
* @return string SQL order by clause
*/
static
function
order
(
$request
,
$columns
,
$isJoin
=
false
)
{
$order
=
''
;
if
(
isset
(
$request
[
'order'
])
&&
count
(
$request
[
'order'
])
)
{
$orderBy
=
array
();
$dtColumns
=
SSP
::
pluck
(
$columns
,
'dt'
);
for
(
$i
=
0
,
$ien
=
count
(
$request
[
'order'
])
;
$i
<
$ien
;
$i
++
)
{
// Convert the column index into the column data property
$columnIdx
=
intval
(
$request
[
'order'
][
$i
][
'column'
]);
$requestColumn
=
$request
[
'columns'
][
$columnIdx
];
$columnIdx
=
array_search
(
$requestColumn
[
'data'
],
$dtColumns
);
$column
=
$columns
[
$columnIdx
];
if
(
$requestColumn
[
'orderable'
]
==
'true'
)
{
$dir
=
$request
[
'order'
][
$i
][
'dir'
]
===
'asc'
?
'ASC'
:
'DESC'
;
$orderBy
[]
=
(
$isJoin
)
?
$column
[
'db'
]
.
' '
.
$dir
:
'`'
.
$column
[
'db'
]
.
'` '
.
$dir
;
}
}
$order
=
'ORDER BY '
.
implode
(
', '
,
$orderBy
);
}
return
$order
;
}
/**
* Searching / Filtering
*
* Construct the WHERE clause for server-side processing SQL query.
*
* NOTE this does not match the built-in DataTables filtering which does it
* word by word on any field. It's possible to do here performance on large
* databases would be very poor
*
* @param array $request Data sent to server by DataTables
* @param array $columns Column information array
* @param array $bindings Array of values for PDO bindings, used in the sql_exec() function
* @param bool $isJoin Determine the the JOIN/complex query or simple one
*
* @return string SQL where clause
*/
static
function
filter
(
$request
,
$columns
,
&
$bindings
,
$isJoin
=
false
)
{
$globalSearch
=
array
();
$columnSearch
=
array
();
$dtColumns
=
SSP
::
pluck
(
$columns
,
'dt'
);
if
(
isset
(
$request
[
'search'
])
&&
$request
[
'search'
][
'value'
]
!=
''
)
{
$str
=
$request
[
'search'
][
'value'
];
for
(
$i
=
0
,
$ien
=
count
(
$request
[
'columns'
])
;
$i
<
$ien
;
$i
++
)
{
$requestColumn
=
$request
[
'columns'
][
$i
];
$columnIdx
=
array_search
(
$requestColumn
[
'data'
],
$dtColumns
);
$column
=
$columns
[
$columnIdx
];
if
(
$requestColumn
[
'searchable'
]
==
'true'
)
{
$binding
=
SSP
::
bind
(
$bindings
,
'%'
.
$str
.
'%'
,
PDO
::
PARAM_STR
);
$globalSearch
[]
=
(
$isJoin
)
?
$column
[
'db'
]
.
" LIKE "
.
$binding
:
"`"
.
$column
[
'db'
]
.
"` LIKE "
.
$binding
;
}
}
}
// Individual column filtering
for
(
$i
=
0
,
$ien
=
count
(
$request
[
'columns'
])
;
$i
<
$ien
;
$i
++
)
{
$requestColumn
=
$request
[
'columns'
][
$i
];
$columnIdx
=
array_search
(
$requestColumn
[
'data'
],
$dtColumns
);
$column
=
$columns
[
$columnIdx
];
$str
=
$requestColumn
[
'search'
][
'value'
];
if
(
$requestColumn
[
'searchable'
]
==
'true'
&&
$str
!=
''
)
{
$binding
=
SSP
::
bind
(
$bindings
,
'%'
.
$str
.
'%'
,
PDO
::
PARAM_STR
);
$columnSearch
[]
=
(
$isJoin
)
?
$column
[
'db'
]
.
" LIKE "
.
$binding
:
"`"
.
$column
[
'db'
]
.
"` LIKE "
.
$binding
;
}
}
// Combine the filters into a single string
$where
=
''
;
if
(
count
(
$globalSearch
)
)
{
$where
=
'('
.
implode
(
' OR '
,
$globalSearch
)
.
')'
;
}
if
(
count
(
$columnSearch
)
)
{
$where
=
$where
===
''
?
implode
(
' AND '
,
$columnSearch
)
:
$where
.
' AND '
.
implode
(
' AND '
,
$columnSearch
);
}
if
(
$where
!==
''
)
{
$where
=
'WHERE '
.
$where
;
}
return
$where
;
}
/**
* Perform the SQL queries needed for an server-side processing requested,
* utilising the helper functions of this class, limit(), order() and
* filter() among others. The returned array is ready to be encoded as JSON
* in response to an SSP request, or can be modified if needed before
* sending back to the client.
*
* @param array $request Data sent to server by DataTables
* @param array $sql_details SQL connection details - see sql_connect()
* @param string $table SQL table to query
* @param string $primaryKey Primary key of the table
* @param array $columns Column information array
* @param array $joinQuery Join query String
* @param string $extraWhere Where query String
*
* @return array Server-side processing response array
*
*/
static
function
simple
(
$request
,
$table
,
$primaryKey
,
$columns
,
$joinQuery
=
NULL
,
$extraWhere
=
''
,
$groupBy
=
''
)
{
$sql_details
=
self
::
$sql_details
;
$bindings
=
array
();
$db
=
SSP
::
sql_connect
(
$sql_details
);
// Build the SQL query string from the request
$limit
=
SSP
::
limit
(
$request
,
$columns
);
$order
=
SSP
::
order
(
$request
,
$columns
,
$joinQuery
);
$where
=
SSP
::
filter
(
$request
,
$columns
,
$bindings
,
$joinQuery
);
// IF Extra where set then set and prepare query
if
(
$extraWhere
)
$extraWhere
=
(
$where
)
?
' AND '
.
$extraWhere
:
' WHERE '
.
$extraWhere
;
$groupBy
=
(
$groupBy
)
?
' GROUP BY '
.
$groupBy
.
' '
:
''
;
// Main query to actually get the data
if
(
$joinQuery
){
$col
=
SSP
::
pluck
(
$columns
,
'db'
,
$joinQuery
);
$query
=
"SELECT SQL_CALC_FOUND_ROWS "
.
implode
(
", "
,
$col
)
.
"
$joinQuery
$where
$extraWhere
$groupBy
$order
$limit
"
;
}
else
{
$query
=
"SELECT SQL_CALC_FOUND_ROWS `"
.
implode
(
"`, `"
,
SSP
::
pluck
(
$columns
,
'db'
))
.
"`
FROM `
$table
`
$where
$extraWhere
$groupBy
$order
$limit
"
;
}
$data
=
SSP
::
sql_exec
(
$db
,
$bindings
,
$query
);
// Data set length after filtering
$resFilterLength
=
SSP
::
sql_exec
(
$db
,
"SELECT FOUND_ROWS()"
);
$recordsFiltered
=
$resFilterLength
[
0
][
0
];
// Total data set length
$resTotalLength
=
SSP
::
sql_exec
(
$db
,
"SELECT COUNT(`
{
$primaryKey
}
`)
FROM `
$table
`"
);
$recordsTotal
=
$resTotalLength
[
0
][
0
];
/*
* Output
*/
return
array
(
"draw"
=>
intval
(
$request
[
'draw'
]
),
"recordsTotal"
=>
intval
(
$recordsTotal
),
"recordsFiltered"
=>
intval
(
$recordsFiltered
),
"data"
=>
SSP
::
data_output
(
$columns
,
$data
,
$joinQuery
)
);
}
/**
* Connect to the database
*
* @param array $sql_details SQL server connection details array, with the
* properties:
* * host - host name
* * db - database name
* * user - user name
* * pass - user password
* @return resource Database connection handle
*/
static
function
sql_connect
(
$sql_details
)
{
try
{
$db
=
@
new
PDO
(
"mysql:host=
{
$sql_details
[
'host'
]
}
;dbname=
{
$sql_details
[
'db'
]
}
"
,
$sql_details
[
'user'
],
$sql_details
[
'pass'
],
array
(
PDO
::
ATTR_ERRMODE
=>
PDO
::
ERRMODE_EXCEPTION
)
);
$db
->
query
(
"SET NAMES 'utf8'"
);
}
catch
(
PDOException
$e
)
{
SSP
::
fatal
(
"An error occurred while connecting to the database. "
.
"The error reported by the server was: "
.
$e
->
getMessage
()
);
}
return
$db
;
}
/**
* Execute an SQL query on the database
*
* @param resource $db Database handler
* @param array $bindings Array of PDO binding values from bind() to be
* used for safely escaping strings. Note that this can be given as the
* SQL query string if no bindings are required.
* @param string $sql SQL query to execute.
* @return array Result from the query (all rows)
*/
static
function
sql_exec
(
$db
,
$bindings
,
$sql
=
null
)
{
// Argument shifting
if
(
$sql
===
null
)
{
$sql
=
$bindings
;
}
$stmt
=
$db
->
prepare
(
$sql
);
//echo $sql;
// Bind parameters
if
(
is_array
(
$bindings
)
)
{
for
(
$i
=
0
,
$ien
=
count
(
$bindings
)
;
$i
<
$ien
;
$i
++
)
{
$binding
=
$bindings
[
$i
];
$stmt
->
bindValue
(
$binding
[
'key'
],
$binding
[
'val'
],
$binding
[
'type'
]
);
}
}
// Execute
try
{
$stmt
->
execute
();
}
catch
(
PDOException
$e
)
{
SSP
::
fatal
(
"An SQL error occurred: "
.
$e
->
getMessage
()
);
}
// Return all
return
$stmt
->
fetchAll
();
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Internal methods
*/
/**
* Throw a fatal error.
*
* This writes out an error message in a JSON string which DataTables will
* see and show to the user in the browser.
*
* @param string $msg Message to send to the client
*/
static
function
fatal
(
$msg
)
{
echo
json_encode
(
array
(
"error"
=>
$msg
)
);
exit
(
0
);
}
/**
* Create a PDO binding key which can be used for escaping variables safely
* when executing a query with sql_exec()
*
* @param array &$a Array of bindings
* @param * $val Value to bind
* @param int $type PDO field type
* @return string Bound key to be used in the SQL where this parameter
* would be used.
*/
static
function
bind
(
&
$a
,
$val
,
$type
)
{
$key
=
':binding_'
.
count
(
$a
);
$a
[]
=
array
(
'key'
=>
$key
,
'val'
=>
$val
,
'type'
=>
$type
);
return
$key
;
}
/**
* Pull a particular property from each assoc. array in a numeric array,
* returning and array of the property values from each item.
*
* @param array $a Array to get data from
* @param string $prop Property to read
* @param bool $isJoin Determine the the JOIN/complex query or simple one
* @return array Array of property values
*/
static
function
pluck
(
$a
,
$prop
,
$isJoin
=
false
)
{
$out
=
array
();
for
(
$i
=
0
,
$len
=
count
(
$a
)
;
$i
<
$len
;
$i
++
)
{
$out
[]
=
(
$isJoin
&&
isset
(
$a
[
$i
][
'as'
]))
?
$a
[
$i
][
$prop
]
.
' AS '
.
$a
[
$i
][
'as'
]
:
$a
[
$i
][
$prop
];
}
return
$out
;
}
}
This diff is collapsed.
Click to expand it.
application/models/sys/M_sys_menu.php
0 → 100644
View file @
8db6b42f
<?php
class
M_sys_menu
extends
MY_Model
{
public
$id_menu
;
public
$code
;
public
$libelle
;
public
$etat
;
public
function
get_db_table_pk
()
{
return
'id_menu'
;
}
public
function
get_db_table_etat
()
{
return
'etat'
;
}
public
function
get_active_data
()
{
return
$this
->
db
->
where
(
'etat'
,
'1'
)
->
get
(
$this
->
get_db_table
())
->
result
();
}
public
function
get_db_table
()
{
return
'sys_menu'
;
}
public
function
get_menu_liste
()
{
$sql
=
"SELECT
m.id_menu,
m.libelle as m_libelle,
sm.id_sous_menu,
sm.libelle as sm_libelle
FROM
sys_sous_menu sm
INNER JOIN sys_menu m ON
m.id_menu = sm.id_menu
ORDER BY m.libelle ASC"
;
$query
=
$this
->
db
->
query
(
$sql
);
return
$query
->
result
();
}
}
This diff is collapsed.
Click to expand it.
application/models/sys/M_sys_niits.php
0 → 100644
View file @
8db6b42f
<?php
class
M_sys_niits
extends
MY_Model
{
public
$id
;
public
$ien
;
public
$email
;
public
$id_profil
;
public
$code_str
;
public
$password
;
public
$statut
;
public
function
get_data
(){
return
$this
->
db
->
select
(
'us.*, p.libelle_type_profil,a.email_agent as email'
)
->
from
(
$this
->
get_db_table
()
.
' us'
)
->
join
(
'sys_type_profil p'
,
'p.id_type_profil = us.id_profil'
)
->
join
(
'agent a'
,
'a.IEN = us.ien'
)
->
get
()
->
result
();
}
public
function
get_db_table
()
{
return
'sys_user'
;
}
public
function
get_db_table_pk
()
{
return
'id'
;
}
public
function
get_db_table_etat
()
{
return
'statut'
;
}
}
This diff is collapsed.
Click to expand it.
application/models/sys/M_sys_profil.php
0 → 100644
View file @
8db6b42f
<?php
class
M_sys_profil
extends
MY_Model
{
public
$id_type_profil
;
public
$libelle_type_profil
;
public
$etat
;
private
$insert_role
=
''
;
private
$update_role
=
''
;
public
function
get_db_table
()
{
return
'sys_type_profil'
;;
}
public
function
get_db_table_pk
(){
return
'id_type_profil'
;
}
public
function
get_data_liste
()
{
$sql
=
"SELECT * FROM sys_type_profil WHERE etat='1'"
;
$query
=
$this
->
db
->
query
(
$sql
);
return
$query
->
result
();
}
public
function
get_db_table_etat
()
{
return
'etat'
;
}
public
function
etat_change
(
$id_profil
,
$etat
)
{
return
$this
->
db
->
query
(
'UPDATE sys_type_profil SET etat = "'
.
$etat
.
'" WHERE id_type_profil ="'
.
$id_profil
.
'"'
);
}
}
This diff is collapsed.
Click to expand it.
application/models/sys/M_sys_role.php
0 → 100644
View file @
8db6b42f
<?php
class
M_sys_role
extends
MY_Model
{
public
$id_actions
;
public
$id_type_profil
;
public
$id_sous_menu
;
public
$d_read
;
public
$d_add
;
public
$d_upd
;
public
$d_del
;
public
function
get_db_table_pk
(){
return
'id_actions'
;
}
public
function
delete_all
(
$id_sous_menu
)
{
$this
->
db
->
where
(
$this
->
get_db_table_fk
(),
$id_sous_menu
);
$this
->
db
->
delete
(
$this
->
get_db_table
());
}
public
function
get_db_table_fk
()
{
return
'id_sous_menu'
;
}
public
function
get_db_table
(
$alias
=
NULL
)
{
return
'sys_type_action'
.
db_alias
(
$alias
);;
}
////Recupere la liste des menus et sous menus pour le profil selectionné avec les droits
public
function
get_menu_liste
(
$id_type_profil
)
{
$sql
=
"SELECT
m.id_menu,
m.code as m_code,
m.libelle as m_libelle,
sm.id_sous_menu,
sm.code as sm_code,
sm.libelle as sm_libelle,
a.id_type_profil,
CASE a.d_read
WHEN '1' THEN 'checked'
ELSE ''
END d_read,
CASE a.d_add
WHEN '1' THEN 'checked'
ELSE ''
END d_add,
CASE a.d_upd
WHEN '1' THEN 'checked'
ELSE ''
END d_upd,
CASE a.d_del
WHEN '1' THEN 'checked'
ELSE ''
END d_del
FROM
sys_sous_menu sm
LEFT OUTER JOIN sys_type_action a ON
sm.id_sous_menu = a.id_sous_menu AND a.id_type_profil = '
$id_type_profil
'
INNER JOIN sys_menu m ON
m.id_menu = sm.id_menu
ORDER BY m.id_menu ASC"
;
$query
=
$this
->
db
->
query
(
$sql
,
$id_type_profil
);
return
$query
->
result
();
}
public
function
save_role_action
(
$id_sous_menu
,
$id_type_profil
,
$post_role
)
{
$sql
=
"SELECT COUNT(id_sous_menu) as smenu FROM sys_type_action
WHERE id_sous_menu = '
$id_sous_menu
'
AND id_type_profil = '
$id_type_profil
'"
;
$query
=
$this
->
db
->
query
(
$sql
);
$row
=
$query
->
row
();
$this
->
db
->
trans_begin
();
if
(
$row
->
smenu
>
0
)
{
//echo $row->link;
$post_role
[]
=
$id_type_profil
;
$post_role
[]
=
$id_sous_menu
;
$this
->
update_role
=
"UPDATE sys_type_action SET"
;
$this
->
update_role
.=
" d_read = ?,"
;
$this
->
update_role
.=
" d_add = ?,"
;
$this
->
update_role
.=
" d_upd = ?,"
;
$this
->
update_role
.=
" d_del = ?"
;
$this
->
update_role
.=
" WHERE id_type_profil = ? AND id_sous_menu = ?"
;
$this
->
db
->
query
(
$this
->
update_role
,
$post_role
);
}
else
{
///Les elements ci dessous doivent venir en premier dans le tableau
$tab_post_role
[]
=
$id_type_profil
;
$tab_post_role
[]
=
$id_sous_menu
;
//on complement les elements de role dans le tebleau
foreach
(
$post_role
as
$val_role
)
{
$tab_post_role
[]
=
$val_role
;
}
//Gestion des sous menus
$this
->
insert_smenu
=
"INSERT INTO sys_type_action SET"
;
$this
->
insert_smenu
.=
" id_type_profil = ?,"
;
$this
->
insert_smenu
.=
" id_sous_menu = ?,"
;
$this
->
insert_smenu
.=
" d_read = ?,"
;
$this
->
insert_smenu
.=
" d_add = ?,"
;
$this
->
insert_smenu
.=
" d_upd = ?,"
;
$this
->
insert_smenu
.=
" d_del = ?"
;
$this
->
db
->
query
(
$this
->
insert_smenu
,
$tab_post_role
);
}
if
(
$this
->
db
->
trans_status
()
===
FALSE
)
{
$this
->
db
->
trans_rollback
();
$status
=
'error'
;
$result
=
'Erreur lors de la mise à jour des roles'
;
}
else
{
$this
->
db
->
trans_commit
();
$status
=
'success'
;
$result
=
'Mise a jour des roles effectuée avec succès'
;
}
$d
=
array
();
$d
[
'status'
]
=
$status
;
$d
[
'message'
]
=
$result
;
return
$d
;
}
public
function
raz_sous_menu_active
(
$id_profil
)
{
///RAZ des sous-menus associés au profil
$sql_sm
=
"UPDATE sys_type_action SET
d_read = '-1', d_add = '-1', d_upd = '-1', d_del = '-1'
WHERE id_type_profil = '
$id_profil
'"
;
$this
->
db
->
query
(
$sql_sm
);
}
public
function
get_conn_roles
(
$id_profil
/*, $code_str, $ien*/
)
{
//$pdo =& get_instance();
$sql
=
"SELECT
a.d_read,
a.d_add,
a.d_upd,
a.d_del,
m.code as mcode,
m.libelle,
sm.code as smcode,
sm.libelle
FROM
sys_type_action a
INNER JOIN sys_sous_menu sm ON
a.id_sous_menu = sm.id_sous_menu AND a.id_type_profil = ?
AND a.d_read = '1'
INNER JOIN sys_menu m ON
sm.id_menu = m.id_menu
INNER JOIN sys_type_profil p ON
p.id_type_profil = a.id_type_profil
INNER JOIN sys_user n ON
n.id_profil = p.id_type_profil
ORDER BY a.id_actions ASC"
;
$query
=
$this
->
db
->
query
(
$sql
,
array
(
$id_profil
));
$result
=
$query
->
result
();
return
$result
;
}
public
function
get_conn_roles1
(
$id_profil
/*, $code_str, $ien*/
)
{
//$pdo =& get_instance();
$sql
=
"SELECT
a.d_read,
a.d_add,
a.d_upd,
a.d_del,
m.code as mcode,
m.libelle,
sm.code as smcode,
sm.libelle
FROM
sys_type_action a
INNER JOIN sys_sous_menu sm ON
a.id_sous_menu = sm.id_sous_menu AND a.id_type_profil = ?
AND a.d_read = '1'
INNER JOIN sys_menu m ON
sm.id_menu = m.id_menu
INNER JOIN sys_type_profil p ON
p.id_type_profil = a.id_type_profil
INNER JOIN agent_snop n ON
n.id_profil = p.id_type_profil
ORDER BY a.id_actions ASC"
;
$query
=
$this
->
db
->
query
(
$sql
,
array
(
$id_profil
));
$result
=
$query
->
result
();
return
$result
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
application/models/sys/M_sys_sous_menu.php
0 → 100644
View file @
8db6b42f
<?php
class
M_sys_sous_menu
extends
MY_Model
{
public
$id_sous_menu
;
public
$id_menu
;
public
$code
;
public
$libelle
;
public
$etat
;
public
function
fake_delete_all
(
$id_menu
)
{
$this
->
db
->
set
(
$this
->
get_db_table_etat
(),
'-1'
);
$this
->
db
->
where
(
$this
->
get_db_table_fk
(),
$id_menu
);
$this
->
db
->
update
(
$this
->
get_db_table
());
}
public
function
get_db_table_etat
()
{
return
'etat'
;
}
public
function
get_db_table_fk
()
{
return
'id_menu'
;
}
public
function
get_db_table
()
{
return
'sys_sous_menu'
;
}
public
function
get_list_sous_menu
(
$id_menu
)
{
return
$this
->
db
->
select
(
$this
->
get_db_table_pk
())
->
from
(
$this
->
get_db_table
())
->
where
(
$this
->
get_db_table_fk
(),
$id_menu
)
->
get
()
->
result
();
}
public
function
get_db_table_pk
()
{
return
'id_sous_menu'
;
}
public
function
get_active_data
()
{
return
$this
->
db
->
select
(
'sm.*, m.libelle as menu'
)
->
where
(
'sm.etat'
,
'1'
)
->
join
(
'sys_menu m'
,
'm.id_menu = sm.id_menu'
)
->
get
(
$this
->
get_db_table
()
.
' as sm'
)
->
result
();
}
public
function
get_menu_liste
()
{
$sql
=
"SELECT
m.id_menu,
m.libelle as m_libelle,
sm.id_sous_menu,
sm.libelle as sm_libelle
FROM
sys_sous_menu sm
INNER JOIN sys_menu m ON
m.id_menu = sm.id_menu
ORDER BY m.libelle ASC"
;
$query
=
$this
->
db
->
query
(
$sql
);
return
$query
->
result
();
}
}
This diff is collapsed.
Click to expand it.
application/models/sys/M_sys_user.php
0 → 100644
View file @
8db6b42f
<?php
class
M_sys_user
extends
MY_Model
{
public
$id
;
public
$id_profil
;
public
$mot_de_passe
;
public
$statut
;
public
$id_personnel
;
public
function
get_data
(
/*$code_str*/
)
{
return
$this
->
db
->
select
(
"usr.*, pers_str.*, ssp.*, s.libelle_structure"
)
->
from
(
$this
->
get_db_table
()
.
' as usr'
)
->
join
(
'personnel as pers_str'
,
'pers_str.id_personnel = usr.id_personnel'
)
->
join
(
'sys_type_profil as ssp'
,
'ssp.id_type_profil = usr.id_profil'
)
->
join
(
'structure as s'
,
's.id_structure = pers_str.id_structure'
)
// ->where('pers_str.id_structure', $_SESSION['id_structure'])
->
get
()
->
result
();
}
public
function
get_db_table
()
{
return
'sys_user'
;
}
public
function
get_db_table_pk
()
{
return
'id'
;
}
public
function
change_etat
(
$id
,
$statut
)
{
return
$this
->
db
->
query
(
'UPDATE sys_user SET statut = "'
.
$statut
.
'" WHERE id_personnel ="'
.
$id
.
'"'
);
}
public
function
get_info_mail
(
$id
)
{
return
$this
->
db
->
select
(
"pers.*"
)
->
from
(
'sys_user as usr'
)
->
join
(
'personnel as pers'
,
'pers.id_personnel = usr.id_personnel'
)
->
where
(
'id'
,
$id
)
->
get
()
->
result
();
}
public
function
get_tel_by_id
(
$id
)
{
$tel
=
$this
->
db
->
select
(
"pers.tel_personnel"
)
->
from
(
'sys_user as usr'
)
->
join
(
'personnel as pers'
,
'pers.id_personnel = usr.id_personnel'
)
->
where
(
'id'
,
$id
)
->
get
()
->
row
();
return
$tel
->
tel_personnel
;
}
public
function
get_email_by_id
(
$id
)
{
$email
=
$this
->
db
->
select
(
"pers.email_personnel"
)
->
from
(
'sys_user as usr'
)
->
join
(
'personnel as pers'
,
'pers.id_personnel = usr.id_personnel'
)
->
where
(
'id'
,
$id
)
->
get
()
->
row
();
return
$email
->
email_personnel
;
}
public
function
pw_reset
(
$id
,
$pw
)
{
$this
->
db
->
set
(
'mot_de_passe'
,
$pw
)
->
where
(
'id'
,
$id
)
->
update
(
'sys_user'
);
if
(
$this
->
db
->
trans_status
()
===
FALSE
)
{
$status
=
'error'
;
$result
=
'Erreur lors de la réinitialisation.'
;
}
else
{
$status
=
'success'
;
$result
=
'Mot de passe réinitialisé avec succées.'
;
}
$d
=
array
();
$d
[
'id'
]
=
$id
;
$d
[
'status'
]
=
$status
;
$d
[
'message'
]
=
$result
;
return
$d
;
}
}
This diff is collapsed.
Click to expand it.
application/views/left_sidebar_copy.php
0 → 100644
View file @
8db6b42f
<div
class=
"sidebar"
id=
"sidebar"
>
<div
class=
"sidebar-inner slimscroll"
>
<div
id=
"sidebar-menu"
class=
"sidebar-menu"
>
<ul>
<li
class=
"menu-title"
>
<span>
Menu principal
</span>
</li>
<?php
$menu_roles
=
$_SESSION
[
'menu_roles'
];
$smenu_roles
=
$_SESSION
[
'smenu_roles'
];
?>
<li
class=
"active"
>
<a
href=
"
<?php
echo
base_url
();
?>
dashboard"
><i
class=
"fa fa-university"
></i>
<span>
Tableau de bord
</span></a>
</li>
<?php
if
(
$this
->
session
->
verificateur
==
'1'
)
:
if
(
isset
(
$smenu_roles
[
'VERIFICATON'
]))
:
?>
<li>
<a
href=
"
<?php
echo
base_url
();
?>
C_verification"
class=
"menu"
id=
"menu_verification"
><i
class=
"fa fa-binoculars"
></i>
<span>
Vérification
</span></a>
</li>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
if
(
isset
(
$menu_roles
[
'CAMPAGNE'
]))
:
?>
<li
class=
"submenu"
>
<a
href=
"#"
class=
"waves-effect"
><i
class=
"fas fa-copyright"
></i><span>
Mission vérification
</span><span
class=
"menu-arrow"
></span></a>
<ul
class=
"list-unstyled"
>
<?php
if
(
isset
(
$smenu_roles
[
'CAMPAGNE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_campagne"
class=
"menu"
id=
"menu_campagne"
>
Gestion Mission
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'CONTROLE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_controle"
class=
"menu"
id=
"menu_controle"
>
Controle
</a></li>
<?php
endif
;
?>
</ul>
</li>
<?php
endif
;
?>
<?php
if
(
isset
(
$menu_roles
[
'MILLESTONES'
]))
:
?>
<li
class=
"submenu"
>
<a
href=
"#"
class=
"waves-effect"
><i
class=
"fas fa-rocket"
></i><span>
Millestones
</span><span
class=
"menu-arrow"
></span></a>
<ul
class=
"list-unstyled"
>
<?php
if
(
isset
(
$smenu_roles
[
'MILLESTONE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?=
base_url
();
?>
C_millestones/millestone_strcuture"
class=
"menu"
id=
"menu_Millestones"
>
Millestones
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'FICHE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_fiche"
class=
"menu"
id=
"menu_fiche"
>
Fiches vérification
</a></li>
<?php
endif
;
?>
</ul>
</li>
<?php
endif
;
?>
<?php
if
(
isset
(
$menu_roles
[
'IMPORT_DATA'
]))
:
?>
<li
class=
"submenu"
>
<a
href=
"#"
class=
"waves-effect"
><i
class=
"fas fa-download"
></i><span>
Import données
</span><span
class=
"menu-arrow"
></span></a>
<ul
class=
"list-unstyled"
>
<?php
if
(
isset
(
$smenu_roles
[
'GENERE_TPL'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?=
base_url
();
?>
C_import_data"
class=
"menu"
id=
"menu_genre_template"
>
Génération template
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'IMPORT_DATA'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?=
base_url
();
?>
C_import_data/form_import"
class=
"menu"
id=
"menu_import_template"
>
Importation donneés
</a></li>
<?php
endif
;
?>
</ul>
</li>
<?php
endif
;
?>
<?php
if
(
isset
(
$menu_roles
[
'PARAM'
]))
:
?>
<li
class=
"submenu"
>
<a
href=
"#"
class=
"waves-effect"
><i
class=
"fas fa-cog"
></i><span>
Paramètrage
</span><span
class=
"menu-arrow"
></span></a>
<ul
class=
"list-unstyled"
>
<?php
if
(
isset
(
$smenu_roles
[
'ANNEE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_gestion_annee"
class=
"menu"
id=
"menu_gestion_annee"
>
Annee
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'PERIODE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_gestion_periode"
class=
"menu"
id=
"menu_gestion_periode"
>
Période
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'SUPPORTS'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_supports_verif"
class=
"menu"
id=
"menu_supports_verif"
>
Supports vérification
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'TYPE_STR'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_type_structure"
class=
"menu"
id=
"menu_type_structure"
>
Type structure
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'ENTITE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_entite"
class=
"menu"
id=
"menu_entite"
>
Entités
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'STR'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_structure/atlas"
class=
"menu"
id=
"menu_structure"
>
Structure
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'PERS'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_personnel"
class=
"menu"
id=
"menu_personnel"
>
Personnel
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'DINDIC'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_indicateur_domaine"
class=
"menu"
id=
"menu_domaine_indicateur"
>
Domaine Indicateur
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'INDIC'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_indicateur"
class=
"menu"
id=
"menu_indicateur"
>
Indicateur
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'CATMILESTONES'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_millestones"
class=
"menu"
id=
"menu_milestones"
>
Conf Milestones
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'MODELE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_modele_fiche"
class=
"menu"
id=
"menu_modele_fiche"
>
Modele fiche de saisie
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'LIVRABLE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_millestones/livrable_milestone"
class=
"menu"
id=
"menu_livrable"
>
Livrables
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'PERIODICITE'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_periodicite_api/index"
class=
"menu"
id=
"menu_periodicite_api"
>
Periodicite API
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'PARAM_BASEURL'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
C_param_baseurl_api"
class=
"menu"
id=
"menu_baseurl_api"
>
Base Url Api
</a></li>
<?php
endif
;
?>
</ul>
</li>
<?php
endif
;
?>
<?php
if
(
isset
(
$menu_roles
[
'SECURITE'
]))
:
?>
<li
class=
"submenu"
>
<a
href=
"#"
class=
"waves-effect"
><i
class=
"fas fa-unlock"
></i><span>
Sécurité
</span><span
class=
"menu-arrow"
></span></a>
<ul
class=
"list-unstyled"
>
<?php
if
(
isset
(
$smenu_roles
[
'USR'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
sys/C_sys_user"
class=
"menu"
id=
"menu_sys_users"
>
Utilisateurs
</a></li>
<?php
endif
;
?>
<?php
if
(
isset
(
$smenu_roles
[
'PROFIL'
][
'd_read'
]))
:
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
sys/C_sys_profil"
class=
"menu"
id=
"menu_sys_profils"
>
Profils
</a></li>
<?php
endif
;
?>
</ul>
</li>
<?php
endif
;
?>
<li>
<a
href=
"
<?php
echo
base_url
();
?>
se_deconnecter"
><i
class=
"fas fa-power-off text-danger"
></i><span><strong
class=
"text-danger"
>
Se déconnecter
</strong></span></a>
</li>
<li
class=
"menu-title"
>
<a
href=
"#"
class=
"menu"
id=
"menu_campagne_milestones"
></a>
</li>
</ul>
</div>
</div>
</div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
application/views/sys/V_list_menu.php
0 → 100644
View file @
8db6b42f
<div
class=
"row"
>
<div
class=
"col-sm-1.5"
style=
"margin-bottom: 15px"
>
<button
type=
"button"
id=
"btn_add"
class=
"btn btn-rounded btn-primary"
id=
"loadingModal"
>
Nouveau
</button>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
<div
class=
"card-header"
>
<h3
class=
"card-title mb-2"
>
Liste des menus
</h3>
</div>
<div
class=
"card-body"
>
<div
class=
"table-responsive"
>
<table
id=
"datatable-buttons"
class=
"datatable table table-stripped table-bordered"
>
<thead>
<tr>
<th
style=
"width: 20%"
>
Code
</th>
<th
style=
"width: 70%"
>
Libellé
</th>
<th>
Actions
</th>
</tr>
</thead>
<tbody>
<?php
foreach
(
$menu_liste
as
$value
)
:
?>
<tr>
<td>
<?=
$value
->
code
?>
</td>
<td>
<?=
$value
->
libelle
?>
</td>
<td
style=
"width: 10%"
>
<?php
btn_edit_action
(
$value
->
id_menu
,
'LST_MENU'
);
?>
<?php
btn_delete_action
(
$value
->
id_menu
,
'LST_MENU'
);
?>
</td>
</tr>
<?php
endforeach
;
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- sample modal content -->
<div
id=
"modal_form"
class=
"modal fade"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"standard-modalLabel"
aria-hidden=
"true"
>
<form
action=
"#"
id=
"form"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h4
class=
"modal-title"
id=
"standard-modalLabel"
>
Title
</h4>
<button
type=
"button"
class=
"btn-close"
data-dismiss=
"modal"
aria-label=
"Close"
>
×
</button>
</div>
<div
class=
"modal-body"
>
<input
type=
"hidden"
id=
"id_menu"
name=
"id_menu"
/>
<div
class=
"form-body"
>
<div
class=
"form-group row"
>
<label
class=
"col-lg-3 col-form-label"
>
Code
<span
class=
"text-danger"
>
*
</span></label>
<div
class=
"col-lg-9"
>
<input
name=
"code"
id=
"code"
type=
"text"
class=
"form-control"
required
>
</div>
</div>
<div
class=
"form-group row"
>
<label
class=
"col-lg-3 col-form-label"
>
Libelle
<span
class=
"text-danger"
>
*
</span></label>
<div
class=
"col-lg-9"
>
<input
name=
"libelle"
id=
"libelle"
type=
"text"
class=
"form-control"
required
>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
id=
"close-btn"
class=
"btn btn-danger float-left"
>
Fermer
</button>
<button
type=
"submit"
class=
"btn btn-primary"
>
Enrégistrer
</button>
<!-- <input type="submit" class="btn btn-primary" value="Enregistrer"/>
<button type="button" class="btn btn-default btn-close" data-dismiss="modal">Fermer</button> -->
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</form>
</div>
<!-- /.modal -->
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
'
#datatable-buttons
'
).
managing_ajax
({
id_modal_form
:
'
modal_form
'
,
id_form
:
'
form
'
,
url_submit
:
"
<?php
echo
site_url
(
'sys/C_sys_menu/save_menu'
)
?>
"
,
title_modal_add
:
'
Ajouter un menu
'
,
focus_add
:
'
code
'
,
title_modal_edit
:
'
Modifier un menu
'
,
focus_edit
:
'
libelle
'
,
url_edit
:
"
<?php
echo
site_url
(
'sys/C_sys_menu/get_record_menu'
)
?>
"
,
url_delete
:
"
<?php
echo
site_url
(
'sys/C_sys_menu/delete_menu'
)
?>
"
,
});
$
(
'
.btn-close
'
).
click
(
function
(){
//alert('ok');
$
(
'
#modal_form
'
).
modal
(
'
hide
'
);
});
$
(
'
#close-btn
'
).
click
(
function
(){
//alert('ok');
$
(
'
#modal_form
'
).
modal
(
'
hide
'
);
});
});
</script>
<?php
if
(
ENVIRONMENT
!==
'production'
)
:
?>
{elapsed_time} seconds
|
{memory_usage}
<?php
endif
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
application/views/sys/V_list_sous_menu.php
0 → 100644
View file @
8db6b42f
<div
class=
"row"
>
<div
class=
"col-sm-1.5"
style=
"margin-bottom: 15px"
>
<button
type=
"button"
id=
"btn_add"
class=
"btn btn-rounded btn-primary"
id=
"loadingModal"
>
Nouveau
</button>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
<div
class=
"card-header"
>
<h3
class=
"card-title mb-2"
>
Liste des sous menus
</h3>
</div>
<div
class=
"card-body"
>
<div
class=
"table-responsive"
>
<table
id=
"datatable-buttons"
class=
"datatable table table-stripped table-bordered"
>
<thead>
<tr>
<th
style=
"width: 15%"
>
Menu
</th>
<th
style=
"width: 15%"
>
Code
</th>
<th
style=
"width: 60%"
>
Libellé
</th>
<th>
Actions
</th>
</tr>
</thead>
<tbody>
<?php
// var_dump($select_data_menu);
// exit();
?>
<?php
foreach
(
$sous_menu_liste
as
$value
)
:
?>
<tr>
<td>
<?=
$value
->
menu
?>
</td>
<td>
<?=
$value
->
code
?>
</td>
<td>
<?=
$value
->
libelle
?>
</td>
<td
style=
"width: 10%"
>
<?php
btn_edit_action
(
$value
->
id_sous_menu
,
'LST_S_MENU'
);
?>
<?php
btn_delete_action
(
$value
->
id_sous_menu
,
'LST_S_MENU'
);
?>
</td>
</tr>
<?php
endforeach
;
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- sample modal content -->
<div
id=
"modal_form"
class=
"modal fade"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"standard-modalLabel"
aria-hidden=
"true"
>
<form
action=
"#"
id=
"form"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h4
class=
"modal-title"
id=
"standard-modalLabel"
>
Title
</h4>
<button
type=
"button"
class=
"btn-close"
data-dismiss=
"modal"
aria-label=
"Close"
>
×
</button>
</div>
<div
class=
"modal-body"
>
<input
type=
"hidden"
id=
"id_sous_menu"
name=
"id_sous_menu"
/>
<div
class=
"form-body"
>
<div
class=
"form-group row"
>
<label
class=
"col-lg-3 col-form-label"
>
Menu
<span
class=
"text-danger"
>
*
</span></label>
<div
class=
"col-lg-9"
>
<select
name=
"id_menu"
id=
"id_menu"
class=
"form-control select"
required
>
<?php
echo
$select_data_menu
;
?>
</select>
</div>
</div>
<div
class=
"form-group row"
>
<label
class=
"col-lg-3 col-form-label"
>
Code
<span
class=
"text-danger"
>
*
</span></label>
<div
class=
"col-lg-9"
>
<input
name=
"code"
id=
"code"
type=
"text"
class=
"form-control"
required
>
</div>
</div>
<div
class=
"form-group row"
>
<label
class=
"col-lg-3 col-form-label"
>
Libelle
<span
class=
"text-danger"
>
*
</span></label>
<div
class=
"col-lg-9"
>
<input
name=
"libelle"
id=
"libelle"
type=
"text"
class=
"form-control"
required
>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
id=
"close-btn"
class=
"btn btn-danger float-left"
>
Fermer
</button>
<button
type=
"submit"
class=
"btn btn-primary"
>
Enrégistrer
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</form>
</div>
<!-- /.modal -->
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
'
#datatable-buttons
'
).
managing_ajax
({
id_modal_form
:
'
modal_form
'
,
id_form
:
'
form
'
,
url_submit
:
"
<?php
echo
site_url
(
'sys/C_sys_menu/save_sous_menu'
)
?>
"
,
title_modal_add
:
'
Ajouter un menu
'
,
focus_add
:
'
code
'
,
title_modal_edit
:
'
Modifier un menu
'
,
focus_edit
:
'
libelle
'
,
url_edit
:
"
<?php
echo
site_url
(
'sys/C_sys_menu/get_record_sous_menu'
)
?>
"
,
url_delete
:
"
<?php
echo
site_url
(
'sys/C_sys_menu/delete_sous_menu'
)
?>
"
,
});
$
(
'
.btn-close
'
).
click
(
function
(){
//alert('ok');
$
(
'
#modal_form
'
).
modal
(
'
hide
'
);
});
$
(
'
#close-btn
'
).
click
(
function
(){
//alert('ok');
$
(
'
#modal_form
'
).
modal
(
'
hide
'
);
});
});
</script>
<?php
if
(
ENVIRONMENT
!==
'production'
)
:
?>
{elapsed_time} seconds
|
{memory_usage}
<?php
endif
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
application/views/sys/V_sys_menu.php
0 → 100644
View file @
8db6b42f
<style>
.table
>
tbody
>
tr
>
td
,
{
padding
:
2px
;
line-height
:
1.42857143
;
vertical-align
:
top
;
border-top
:
1px
solid
#ddd
;
}
.titre
{
color
:
#FFF
;
font-weight
:
bold
;
background-color
:
#3d5ee1
;
}
.thtitre
{
color
:
#FFF
;
font-weight
:
bold
;
background-color
:
#09F
;
}
.table
th
,
.table
td
{
border-top
:
none
!important
;
border-left
:
none
!important
;
}
</style>
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<div
class=
"card"
>
<div
class=
"card-header"
>
<h5
class=
"card-title"
>
Liste des menus
</h5>
</div>
<div
class=
"card-body"
>
<div
class=
"table-responsive"
>
<table
id=
"datatable-buttons"
class=
"table table-striped mb-0 table-bordered"
>
<?php
$k
=
0
;
///Incremente les parcours de la table data_menu
$i
=
0
;
/// Pointeur sur les menus
$menu_parent
=
''
;
foreach
(
$menu_liste
as
$smenu
)
{
$k
=
$smenu
->
id_sous_menu
;
if
(
$i
!=
$smenu
->
id_menu
)
{
$i
=
$smenu
->
id_menu
;
if
(
$menu_parent
!=
''
)
///On a dépassé le premier tour
{
?>
</table>
<?php
}
///Cela nous servira de repere pour pouvoir fermer le tableau
$menu_parent
=
$smenu
->
m_libelle
;
?>
<table
width=
"100%"
id=
"datatable-buttons"
class=
"table table-striped mb-0 table-bordered"
>
<tr>
<thead
class=
"titre"
>
<td
width=
"30%"
>
MENUS
</td>
<td>
SOUS-MENUS
</td>
</thead>
</tr>
<tr>
<td><b>
<?php
echo
$menu_parent
;
?>
</b></td>
<td>
<?php
echo
$smenu
->
sm_libelle
?>
</td>
</tr>
<?php
}
else
{
?>
<tr>
<td></td>
<td>
<?php
echo
$smenu
->
sm_libelle
?>
</td>
</tr>
<?php
}
}
?>
</div>
</div>
</div>
</div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
application/views/sys/V_sys_profil.php
0 → 100644
View file @
8db6b42f
<div
class=
"row"
>
<div
class=
"col-sm-1.5"
style=
"margin-bottom: 15px"
>
<button
type=
"button"
id=
"btn_add"
class=
"btn btn-rounded btn-primary"
id=
"loadingModal"
>
Nouveau
</button>
</div>
</div>
<style>
.modal-dialog
{
width
:
80%
;
margin
:
auto
;
}
</style>
<!-- Page-Title -->
<!-- Modal content for the above example -->
<div
id=
"modal_role"
class=
"modal fade"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"modal_formLabel"
aria-hidden=
"true"
style=
"display: none;"
>
<!-- <div class="row">
<div class="col-md-12"> -->
<div
class=
"modal-dialog modal-xl"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h4
class=
"modal-title"
id=
"modal_formLabel"
>
CONFIGURATION DES ROLES POUR
<span
style=
"color:#F00; text-transform:uppercase;"
id=
"role_profil"
></span>
</h4>
<button
type=
"button"
class=
"btn-close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
</div>
<div
class=
"modal-body"
id=
"modal-body"
>
</div>
</div>
<!-- /.modal-content -->
<!-- </div>
</div> -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
<div
class=
"card-header"
>
<h3
class=
"card-title mb-2"
>
Liste des profils
</h3>
</div>
<div
class=
"card-body"
>
<div
class=
"table-responsive"
>
<table
id=
"datatable-buttons"
class=
"datatable table table-stripped table-bordered"
>
<thead>
<tr>
<th>
Libelle
</th>
<th
width=
"10%"
>
Roles
</th>
<th
width=
"5%"
>
Etat
</th>
<th
width=
"10%"
>
Actions
</th>
</tr>
</thead>
<tbody>
<?php
foreach
(
$all_data
as
$value
)
{
?>
<tr>
<td>
<?=
$value
->
libelle_type_profil
;
?>
</td>
<td>
<a
href=
"#"
profil=
"
<?php
echo
$value
->
libelle_type_profil
;
?>
"
id_profil=
"
<?php
echo
$value
->
id_type_profil
;
?>
"
class=
"btn-role badge badge-soft-primary"
>
<i
class=
"fa fa-cog fa-lg"
></i><span>
Role
</span>
</a>
</td>
<td>
<?php
if
(
$value
->
etat
==
'1'
)
{
?>
<a
href=
"#"
>
<i
class=
"fa fa-toggle-on fa-lg"
id=
"desactiver"
id_profil=
"
<?php
echo
$value
->
id_type_profil
;
?>
"
style=
"color:green;"
></i>
</a>
<?php
}
else
{
?>
<a
href=
"#"
>
<i
class=
"fa fa-toggle-off fa-lg"
id=
"activer"
id_profil=
"
<?php
echo
$value
->
id_type_profil
;
?>
"
style=
"color:red;"
></i>
</a>
<?php
}
?>
</td>
<td>
<a
href=
"#"
class=
"remove-btn btn_edit"
id=
'
<?php
echo
$value
->
id_type_profil
;
?>
'
><i
class=
"fe fe-edit"
></i></a>
<a
href=
"#"
class=
"remove-btn btn_delete"
id=
'
<?php
echo
$value
->
id_type_profil
;
?>
'
><i
class=
"fe fe-trash-2"
style=
"color:red;"
></i></a>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- End Row -->
<!-- sample modal content -->
<div
id=
"modal_form"
class=
"modal fade"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"standard-modalLabel"
aria-hidden=
"true"
>
<form
action=
"#"
id=
"form"
>
<div
class=
"modal-dialog "
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h4
class=
"modal-title"
id=
"standard-modalLabel"
>
Title
</h4>
<button
type=
"button"
class=
"btn-close"
data-dismiss=
"modal"
aria-label=
"Close"
>
×
</button>
</div>
<div
class=
"modal-body"
>
<input
type=
"hidden"
id=
"id_type_profil"
name=
"id_type_profil"
/>
<div
class=
"form-body"
>
<div
class=
"form-group row"
>
<label
class=
"col-lg-3 col-form-label"
>
Libelle
</label>
<div
class=
"col-lg-9"
>
<input
name=
"libelle_type_profil"
id=
"libelle_type_profil"
class=
"form-control"
type=
"text"
required
>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
id=
"close-btn"
class=
"btn btn-danger float-left"
>
Fermer
</button>
<button
type=
"submit"
class=
"btn btn-primary"
>
Enrégistrer
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</form>
</div>
<!-- /.modal -->
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
'
#datatable-buttons
'
).
managing_ajax
(
{
id_menu
:
'
menu_sys_profils
'
,
//id du menu dans le fichier de (navigation) dans notre cas left_side_bar
id_modal_form
:
'
modal_form
'
,
//id du modal qui contient le formulaire
id_form
:
'
form
'
,
//id du formulaire
url_submit
:
"
<?php
echo
site_url
(
'sys/C_sys_profil/save'
)
?>
"
,
//url du save (données envoyés par post)
title_modal_add
:
'
Nouveau profil
'
,
//Title du modal à l'ouverture en mode ajout
focus_add
:
'
libelle
'
,
//l'emplacement du focus en mode ajout
title_modal_edit
:
'
Edition de profil
'
,
//Title du modal à l'ouverture en mode edit
focus_edit
:
'
libelle
'
,
//l'emplacement du focus en mode edit
url_edit
:
"
<?php
echo
site_url
(
'sys/C_sys_profil/get_record'
)
?>
"
,
//url le fonction qui recupére la données de la ligne
url_delete
:
"
<?php
echo
site_url
(
'sys/C_sys_profil/delete'
)
?>
"
,
//url de la fonction supprimé
});
$
(
'
.btn-close
'
).
click
(
function
(){
//alert('ok');
$
(
'
#modal_form
'
).
modal
(
'
hide
'
);
$
(
'
#modal_role
'
).
modal
(
'
hide
'
);
});
$
(
'
#close-btn
'
).
click
(
function
(){
//alert('ok');
$
(
'
#modal_form
'
).
modal
(
'
hide
'
);
});
$
(
'
.btn-role
'
).
on
(
'
click
'
,
function
(
event
)
{
var
id_cur_profil
=
$
(
this
).
attr
(
'
id_profil
'
);
var
cur_profil
=
$
(
this
).
attr
(
'
profil
'
);
//Appel controller/action/id
$
.
ajax
(
{
url
:
'
<?php
echo
site_url
(
'sys/C_sys_profil/get_menu_liste/'
)
?>
'
+
id_cur_profil
,
type
:
"
GET
"
,
dataType
:
"
HTML
"
,
success
:
function
(
data
)
{
//alert(data);
$
(
'
#modal-body
'
).
html
(
data
);
},
error
:
function
(
jqXHR
,
textStatus
,
errorThrown
)
{
alert
(
'
Error adding / update data
'
);
}
});
$
(
"
#role_profil
"
).
text
(
cur_profil
);
$
(
"
#id_role_profil
"
).
val
(
id_cur_profil
);
$
(
'
#modal_role
'
).
modal
(
'
show
'
);
});
$
(
'
#datatable-buttons tbody
'
).
on
(
'
click
'
,
'
#desactiver
'
,
function
()
{
var
id
=
$
(
this
).
attr
(
'
id_profil
'
);
var
etat
=
'
-1
'
;
swal
.
fire
({
title
:
'
Alerte
'
,
text
:
"
voulez vous désactiver ce profil ?
"
,
type
:
'
warning
'
,
showCancelButton
:
true
,
// dangerMode: true,
confirmButtonColor
:
'
#3085d6
'
,
cancelButtonColor
:
'
#d33
'
,
cancelButtonText
:
'
Non
'
,
confirmButtonText
:
'
Oui
'
,
closeOnConfirm
:
true
//}).then(function (isConfirm) {
}).
then
((
result
)
=>
{
if
(
result
.
isConfirmed
)
{
var
href
=
"
<?=
base_url
()
?>
sys/C_sys_profil/change_etat/
"
+
id
+
'
/
'
+
etat
;
callBack_menu
(
href
);
}
});
});
$
(
'
#datatable-buttons tbody
'
).
on
(
'
click
'
,
'
#activer
'
,
function
()
{
var
id
=
$
(
this
).
attr
(
'
id_profil
'
);
var
etat
=
'
1
'
;
swal
.
fire
({
title
:
'
Alerte
'
,
text
:
"
voulez vous activer ce profil ?
"
,
type
:
'
warning
'
,
showCancelButton
:
true
,
// dangerMode: true,
confirmButtonColor
:
'
#3085d6
'
,
cancelButtonColor
:
'
#d33
'
,
cancelButtonText
:
'
Non
'
,
confirmButtonText
:
'
Oui
'
,
closeOnConfirm
:
true
//}).then(function (isConfirm) {
}).
then
((
result
)
=>
{
if
(
result
.
isConfirmed
)
{
var
href
=
"
<?=
base_url
()
?>
sys/C_sys_profil/change_etat/
"
+
id
+
'
/
'
+
etat
;
callBack_menu
(
href
);
}
});
});
});
</script>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
application/views/sys/V_sys_role.php
0 → 100644
View file @
8db6b42f
<style>
.table
>
tbody
>
tr
>
td
,
{
padding
:
2px
;
line-height
:
1.42857143
;
vertical-align
:
top
;
border-top
:
1px
solid
#3d5ee1
;
}
.titre
{
color
:
#FFF
;
font-weight
:
bold
;
background-color
:
#3d5ee1
;
}
.thtitre
{
color
:
#FFF
;
font-weight
:
bold
;
background-color
:
#3d5ee1
;
}
.table
th
,
.table
td
{
border-top
:
none
!important
;
border-left
:
none
!important
;
}
</style>
<form
id=
"form_role"
method=
"post"
>
<input
type=
"hidden"
name=
"id_role_profil"
id=
"id_role_profil"
value=
"
<?php
echo
$id_profil
?>
"
>
<input
type=
"button"
id=
"btn-role-save"
class=
"btn btn-rounded btn-primary"
value=
"Enregistrer"
/>
<br><br>
<legend></legend>
<div
class=
"clearfix"
></div>
<div
class=
"row"
>
<?php
$js_menu
=
''
;
$js_smenu
=
''
;
$js_tgl
=
''
;
?>
<div
class=
"col-md-3 table-responsive"
>
<table
width=
"100%"
class=
"table border-0 star-student table-hover table-center mb-0 datatable table-striped"
cellpadding=
"0"
border=
"0"
>
<thead
class=
"student-thread"
>
<tr><th
colspan=
"2"
class=
"thtitre"
>
LISTE DES MENUS
</th></tr>
</thead>
<?php
$data_val
=
0
;
///Pour les numeros de data-val dans le a-href
$pmenu
=
''
;
//Pour la liste des elements de data-val de la fonction jquery
$cur_mn
=
''
;
///Pour connaitre le menu courant
$rpr_data_val
=
0
;
//Repere pour le premier parcours
foreach
(
$data_menu
as
$menu
)
{
if
(
$cur_mn
!=
$menu
->
m_libelle
)
{
$cur_mn
=
$menu
->
m_libelle
;
$data_val
=
$menu
->
id_menu
;
if
(
$rpr_data_val
==
0
)
{
$pmenu
.=
"#pmenu_
$data_val
"
;
}
else
{
$pmenu
.=
", #pmenu_
$data_val
"
;
}
?>
<tr><th><a
href=
"#"
class=
"link"
data-val=
"
<?php
echo
$data_val
?>
"
>
<?php
echo
$menu
->
m_libelle
?>
</a></th></tr>
<?php
$rpr_data_val
=
$data_val
;
}
}
?>
</table>
</div>
<div
class=
"col-md-1"
>
</div>
<div
class=
"col-md-8"
>
<?php
$k
=
0
;
///Incremente les parcours de la table data_menu
$i
=
0
;
/// Pointeur sur les menus
$menu_parent
=
''
;
foreach
(
$data_menu
as
$smenu
)
{
$k
=
$smenu
->
id_sous_menu
;
if
(
$i
!=
$smenu
->
id_menu
)
{
$i
=
$smenu
->
id_menu
;
if
(
$menu_parent
!=
''
)
///On a dépassé le premier tour
{
?>
</table>
<?php
}
///Cela nous servira de repere pour pouvoir fermer le tableau
$menu_parent
=
$smenu
->
m_libelle
;
?>
<table
class=
"table border-0 star-student table-hover table-center mb-0 datatable table-striped"
width=
"98%"
id=
"pmenu_
<?php
echo
$i
?>
"
style=
"display:none;"
>
<tr>
<thead
class=
"titre student-thread"
>
<td><input
type=
"checkbox"
name=
"menu_
<?php
echo
$i
?>
"
class=
"pmenu_
<?php
echo
$i
?>
"
></td>
<?php
///Bout de code js
$js_menu
.=
"$('.pmenu_
$i
').click(function(){
//on cherche les checkbox à l'intérieur de l'id
var pmenu_
$i
= $('#pmenu_
$i
').find(':checkbox');
if(this.checked)
{ // si 'checkAll' est coché
pmenu_
$i
.prop('checked', true);
}else
{ // si on décoche 'checkAll'
pmenu_
$i
.prop('checked', false);
}
});"
;
?>
<td>
SOUS-MENUS
</td>
<td>
Lecture
</td>
<td>
Ajout
</td>
<td>
Modif
</td>
<td>
Suppr
</td>
</thead>
</tr>
<tr
id=
"psmenu_
<?php
echo
$k
?>
"
>
<td><input
type=
"checkbox"
name=
"menu_
<?php
echo
$k
?>
"
class=
"psmenu_
<?php
echo
$k
?>
"
></td>
<?php
///Bout de code js
$js_smenu
.=
"
$('.psmenu_
$k
').click(function(){
//on cherche les checkbox à l'intérieur de l'id
var psmenu_
$k
= $('#psmenu_
$k
').find(':checkbox');
if(this.checked)
{ // si 'checkAll' est coché
psmenu_
$k
.prop('checked', true);
}else
{ // si on décoche 'checkAll'
psmenu_
$k
.prop('checked', false);
}
});"
;
///Bout de code js
$js_smenu
.=
"
$(':checkbox.smenu_
$k
').click(function(){
$(':checkbox.pmenu_
$i
').prop('checked', false);
$(':checkbox.psmenu_
$k
').prop('checked', false);
});
$(':checkbox.psmenu_
$k
').click(function(){
$(':checkbox.pmenu_
$i
').prop('checked', false);
});"
;
?>
<td>
<?php
echo
$smenu
->
sm_libelle
?>
</td>
<td><input
type=
"checkbox"
name=
"btn_role[]"
value=
"read_
<?php
echo
$k
?>
"
<?php
echo
$smenu
->
d_read
;
?>
class=
"smenu_
<?php
echo
$k
?>
"
></td>
<td><input
type=
"checkbox"
name=
"btn_role[]"
value=
"add_
<?php
echo
$k
?>
"
<?php
echo
$smenu
->
d_add
;
?>
class=
"smenu_
<?php
echo
$k
?>
"
></td>
<td><input
type=
"checkbox"
name=
"btn_role[]"
value=
"upd_
<?php
echo
$k
?>
"
<?php
echo
$smenu
->
d_upd
;
?>
class=
"smenu_
<?php
echo
$k
?>
"
></td>
<td><input
type=
"checkbox"
name=
"btn_role[]"
value=
"del_
<?php
echo
$k
?>
"
<?php
echo
$smenu
->
d_del
;
?>
class=
"smenu_
<?php
echo
$k
?>
"
></td>
</tr>
<?php
}
else
{
?>
<tr
id=
"psmenu_
<?php
echo
$k
?>
"
>
<td><input
type=
"checkbox"
name=
"menu_
<?php
echo
$k
?>
"
class=
"psmenu_
<?php
echo
$k
?>
"
></td>
<?php
///Bout de code js
$js_smenu
.=
"
$('.psmenu_
$k
').click(function(){
//on cherche les checkbox à l'intérieur de l'id
var psmenu_
$k
= $('#psmenu_
$k
').find(':checkbox');
if(this.checked)
{ // si 'checkAll' est coché
psmenu_
$k
.prop('checked', true);
}else
{ // si on décoche 'checkAll'
psmenu_
$k
.prop('checked', false);
}
});"
;
///Bout de code js
$js_smenu
.=
"
$(':checkbox.smenu_
$k
').click(function(){
$(':checkbox.pmenu_
$i
').prop('checked', false);
$(':checkbox.psmenu_
$k
').prop('checked', false);
});
$(':checkbox.psmenu_
$k
').click(function(){
$(':checkbox.pmenu_
$i
').prop('checked', false);
});"
;
?>
<td>
<?php
echo
$smenu
->
sm_libelle
?>
</td>
<td><input
type=
"checkbox"
name=
"btn_role[]"
value=
"read_
<?php
echo
$k
?>
"
<?php
echo
$smenu
->
d_read
;
?>
class=
"smenu_
<?php
echo
$k
?>
"
></td>
<td><input
type=
"checkbox"
name=
"btn_role[]"
value=
"add_
<?php
echo
$k
?>
"
<?php
echo
$smenu
->
d_add
;
?>
class=
"smenu_
<?php
echo
$k
?>
"
></td>
<td><input
type=
"checkbox"
name=
"btn_role[]"
value=
"upd_
<?php
echo
$k
?>
"
<?php
echo
$smenu
->
d_upd
;
?>
class=
"smenu_
<?php
echo
$k
?>
"
></td>
<td><input
type=
"checkbox"
name=
"btn_role[]"
value=
"del_
<?php
echo
$k
?>
"
<?php
echo
$smenu
->
d_del
;
?>
class=
"smenu_
<?php
echo
$k
?>
"
></td>
</tr>
<?php
}
}
?>
</div>
</div>
</form>
<script>
$
(
document
).
ready
(
function
(){
$
(
'
#btn-role-save
'
).
on
(
'
click
'
,
function
(
event
){
$
.
ajax
({
url
:
"
<?php
echo
site_url
(
'sys/C_sys_profil/save_role_action'
)
?>
"
,
type
:
"
POST
"
,
data
:
$
(
'
#form_role
'
).
serialize
(),
dataType
:
"
JSON
"
,
success
:
function
(
data
){
if
(
data
.
status
==
'
success
'
)
{
$
.
Notification
.
autoHideNotify
(
'
success
'
,
'
bottom right
'
,
data
.
message
);
$
(
'
#modal_role
'
).
modal
(
'
hide
'
);
}
else
{
$
.
Notification
.
autoHideNotify
(
'
error
'
,
'
bottom right
'
,
data
.
message
)
}
},
error
:
function
(
jqXHR
,
textStatus
,
errorThrown
)
{
alert
(
'
Erreur envoi
'
);
}
});
});
});
</script>
<script>
////Niveau Sous-menu
<?php
echo
$js_menu
?>
////Niveau Menu
<?php
echo
$js_smenu
?>
</script>
<script>
$
(
document
).
ready
(
function
(){
$
(
'
.link
'
).
click
(
function
(
event
)
{
var
val
=
$
(
this
).
data
(
'
val
'
);
//$('#pmenu_0,#pmenu_1').hide();
$
(
'
<?php
echo
$pmenu
;
?>
'
).
hide
();
$
(
'
#pmenu_
'
+
val
).
show
();
return
false
;
});
});
</script>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
application/views/sys/V_sys_user.php
0 → 100644
View file @
8db6b42f
<div
class=
"page-header"
>
<div
class=
"row align-items-center"
>
<div
class=
"col"
>
<h3
class=
"page-title"
>
Utilisateurs
</h3>
<ul
class=
"breadcrumb"
>
<li
class=
"breadcrumb-item"
><a
href=
"
<?=
base_url
()
?>
dashboard"
>
Tableau de bord
</a></li>
<li
class=
"breadcrumb-item "
>
Sécurité
</li>
<li
class=
"breadcrumb-item active"
>
utilisateur
</li>
</ul>
</div>
</div>
</div>
<!-- <div class="row">
<div class="col-12 col-md-6 col-lg-1" style="margin-bottom: 15px">
<button type="submit" id="active_tout" class="btn btn-rounded btn-success" id="loadingModal">Activer</button>
</div>
<div class="col-12 col-md-6 col-lg-1" style="margin-bottom: 15px">
<button type="submit" id="desactive_tout" class="btn btn-rounded btn-danger" id="loadingModal">Désactiver</button>
</div>
</div> -->
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
<div
class=
"card-body"
>
<div
class=
"page-header"
>
<div
class=
"row align-items-center"
>
<div
class=
"col"
>
<h3
class=
"page-title"
>
Liste des utilisateurs
</h3>
</div>
<div
class=
"col-auto text-end float-end ms-auto download-grp"
>
<button
type=
"submit"
id=
"active_tout"
class=
"btn btn-rounded btn-success"
disabled
>
Activer
</button>
</div>
<div
class=
"col-auto text-end float-end ms-auto download-grp"
>
<button
type=
"submit"
id=
"desactive_tout"
class=
"btn btn-rounded btn-danger"
disabled
>
Désactiver
</button>
</div>
</div>
</div>
<div
class=
"table-responsive"
>
<form
action=
"#"
id=
"form_check"
>
<table
id=
"datatable"
class=
"table border-0 star-student table-hover table-center mb-0 datatable table-striped"
>
<thead
class=
"student-thread"
>
<tr>
<th>
<div
class=
"form-check check-tables"
>
<input
class=
"form-check-input check_all"
type=
"checkbox"
>
</div>
</th>
<th>
Prenom Nom
</th>
<th>
Profil
</th>
<th>
Téléphone
</th>
<th>
Email
</th>
<th>
Sexe
</th>
<th>
Structure
</th>
<th>
Etat
</th>
<th
class=
"text-end"
>
Action
</th>
</tr>
</thead>
<tbody>
<?php
foreach
(
$all_data
as
$value
)
{
?>
<tr>
<td>
<div
class=
"form-check check-tables"
>
<input
class=
"form-check-input id_check"
name=
"id_checks[]"
type=
"checkbox"
id=
"id_check_
<?=
$value
->
id_personnel
;
?>
"
value=
"
<?=
$value
->
id_personnel
;
?>
"
>
</div>
</td>
<td>
<?=
strtoupper
(
$value
->
prenom_personnel
)
.
' '
.
strtoupper
(
$value
->
nom_personnel
)
;
?>
</td>
<td>
<?=
$value
->
libelle_type_profil
;
?>
</td>
<td>
<?=
$value
->
tel_personnel
;
?>
</td>
<td>
<?=
$value
->
email_personnel
;
?>
</td>
<td>
<?php
if
(
$value
->
sexe_personnel
==
'H'
)
{
?>
<h2
class=
"table-avatar"
>
<a
href=
"#"
class=
"avatar avatar-sm me-2"
><img
class=
"avatar-img rounded-circle"
src=
"
<?php
echo
base_url
();
?>
assets/images/H.png"
alt=
"User Image"
></a>
<a
href=
"#"
>
Homme
</a>
</h2>
<?php
}
elseif
(
$value
->
sexe_personnel
==
'F'
)
{
?>
<h2
class=
"table-avatar"
>
<a
href=
"#"
class=
"avatar avatar-sm me-2"
><img
class=
"avatar-img rounded-circle"
src=
"
<?php
echo
base_url
();
?>
assets/images/F.png"
alt=
"User Image"
></a>
<a
href=
"#"
>
Femme
</a>
</h2>
<?php
}
?>
</td>
<td>
<?=
$value
->
libelle_structure
;
?>
</td>
<td>
<?php
if
(
$value
->
statut
==
'1'
)
{
?>
<span
class=
"badge badge-soft-success"
>
Actif
</span>
<?php
}
else
{
?>
<span
class=
"badge badge-soft-danger"
>
Inactif
</span>
<?php
}
?>
</td>
<td
style=
"width: 1%; white-space: nowrap"
>
<a
class=
"reset_pw"
id=
"
<?=
$value
->
id
?>
"
tel=
"
<?=
$value
->
tel_personnel
;
?>
"
email=
"
<?=
$value
->
email_personnel
;
?>
"
href=
"#"
>
<i
style=
"color:#000;"
class=
"fe fe-send "
></i>
</a>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</form>
</div>
</div>
</div>
</div>
<!-- End Row -->
<div
id=
"modal_form"
class=
"modal fade"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"modal_formLabel"
aria-hidden=
"true"
>
<form
action=
"#"
id=
"form"
class=
"form-horizontal"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
id=
"modal_formLabel"
>
Title
</h4>
</div>
<div
class=
"modal-body"
>
<!-- <input type="hidden" name="statut" id="statut" />
<input type="hidden" name="code_acces" id="code_acces" />
<input type="hidden" name="email_pro" id="email_pro" />-->
<div
class=
"form-body"
>
<div
class=
"form-group"
>
<label
class=
"control-label col-md-3"
>
Ien
</label>
<div
class=
"col-md-9"
>
<input
name=
"ien"
id=
"ien"
class=
"form-control"
type=
"text"
required
>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"control-label col-md-3"
>
Profile
</label>
<div
class=
"col-md-9"
>
<select
name=
"id_profil"
id=
"id_profil"
class=
"form-control"
required
>
<?php
echo
$select_profile
;
?>
</select>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"Enregistrer"
/>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Fermer
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</form>
</div>
<!-- /.modal -->
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(){
$
(
'
.check_all
'
).
click
(
function
(){
if
(
$
(
this
).
prop
(
"
checked
"
)
==
true
)
{
$
(
'
.id_check
'
).
prop
(
"
checked
"
,
true
);
$
(
'
#active_tout
'
).
attr
(
"
disabled
"
,
false
);
$
(
'
#desactive_tout
'
).
attr
(
"
disabled
"
,
false
);
}
else
{
$
(
'
.id_check
'
).
prop
(
"
checked
"
,
false
);
$
(
'
#active_tout
'
).
attr
(
"
disabled
"
,
true
);
$
(
'
#desactive_tout
'
).
attr
(
"
disabled
"
,
true
);
}
});
$
(
'
.id_check
'
).
click
(
function
()
{
$
(
'
.id_check
'
).
each
(
function
()
{
if
(
$
(
'
.id_check
'
).
prop
(
"
checked
"
)
==
true
)
{
$
(
'
#active_tout
'
).
attr
(
"
disabled
"
,
false
);
$
(
'
#desactive_tout
'
).
attr
(
"
disabled
"
,
false
);
}
else
{
$
(
'
#active_tout
'
).
attr
(
"
disabled
"
,
true
);
$
(
'
#desactive_tout
'
).
attr
(
"
disabled
"
,
true
);
}
});
});
$
(
"
#active_tout
"
).
click
(
function
()
{
var
url
=
"
<?=
site_url
(
'sys/C_sys_user/tout_activer'
)
?>
"
;
var
formulaire
=
$
(
"
#form_check
"
);
var
isvalidate
=
$
(
'
#form_check
'
).
valid
();
if
(
isvalidate
===
true
)
{
$
.
ajax
({
url
:
url
,
type
:
'
POST
'
,
data
:
formulaire
.
serialize
(),
dataType
:
'
JSON
'
,
success
:
function
(
data
)
{
if
(
data
.
length
!==
0
)
{
$
.
Notification
.
autoHideNotify
(
'
success
'
,
'
bottom right
'
,
'
Alerte
'
,
'
Les profils sélectionnés sont activés
'
);
$
(
'
#
'
+
menu_encours
).
click
();
}
else
{
$
.
Notification
.
autoHideNotify
(
'
error
'
,
'
bottom right
'
,
'
Alerte
'
,
'
Veuillez selectionner les profils à activer !
'
);
$
(
'
#
'
+
menu_encours
).
click
();
}
},
error
:
function
(
jqXHR
)
{
$
.
Notification
.
autoHideNotify
(
'
error
'
,
'
bottom right
'
,
'
Alerte
'
,
'
Veuillez selectionners les profils à activer !
'
);
$
(
'
#
'
+
menu_encours
).
click
();
}
});
return
false
;
}
});
$
(
"
#desactive_tout
"
).
click
(
function
()
{
var
url
=
"
<?=
site_url
(
'sys/C_sys_user/tout_desactiver'
)
?>
"
;
var
formulaire
=
$
(
"
#form_check
"
);
var
isvalidate
=
$
(
'
#form_check
'
).
valid
();
if
(
isvalidate
===
true
)
{
$
.
ajax
({
url
:
url
,
type
:
'
POST
'
,
data
:
formulaire
.
serialize
(),
dataType
:
'
JSON
'
,
success
:
function
(
data
)
{
if
(
data
.
length
!==
0
)
{
$
.
Notification
.
autoHideNotify
(
'
success
'
,
'
bottom right
'
,
'
Alerte
'
,
'
Les profils sélectionnés sont désactivés
'
);
$
(
'
#
'
+
menu_encours
).
click
();
}
else
{
$
.
Notification
.
autoHideNotify
(
'
error
'
,
'
bottom right
'
,
'
Alerte
'
,
'
Veuillez selectionners les profils à désactiver
'
);
$
(
'
#
'
+
menu_encours
).
click
();
}
},
error
:
function
(
jqXHR
)
{
$
.
Notification
.
autoHideNotify
(
'
error
'
,
'
bottom right
'
,
'
Alerte
'
,
'
Veuillez selectionners les profils à désactiver
'
);
$
(
'
#
'
+
menu_encours
).
click
()
}
});
return
false
;
}
});
$
(
"
.reset_pw
"
).
click
(
function
()
{
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
url
=
'
<?php
echo
site_url
(
'sys/C_sys_user/reset_pw/'
)
?>
'
+
id
;
$
.
ajax
({
url
:
url
,
type
:
'
GET
'
,
dataType
:
'
JSON
'
,
success
:
function
(
data
)
{
//console.log(data);exit;
if
(
data
.
status
==
'
success
'
)
{
$
.
Notification
.
autoHideNotify
(
'
success
'
,
'
bottom right
'
,
'
Alerte
'
,
data
.
message
);
$
(
'
#
'
+
menu_encours
).
click
();
}
else
{
$
.
Notification
.
autoHideNotify
(
'
error
'
,
'
bottom right
'
,
'
Alerte
'
,
data
.
message
);
$
(
'
#
'
+
menu_encours
).
click
();
}
},
error
:
function
(
jqXHR
)
{
$
.
Notification
.
autoHideNotify
(
'
error
'
,
'
bottom right
'
,
'
Alerte
'
,
data
.
message
);
$
(
'
#
'
+
menu_encours
).
click
()
}
});
});
});
</script>
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment