Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
IPok_Web
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
IPok
IPok_Web
Commits
bb2f9664
Commit
bb2f9664
authored
6 years ago
by
Dixon Joseph
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jansa' into dixon
parents
27d61441
8f3dd291
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
1 deletion
+2
-1
Home.php
application/controllers/Home.php
+1
-1
Patient.php
application/controllers/Patient.php
+1
-0
221_man.png
assets/uploads/profilepic/patient/221_man.png
+0
-0
222_man.png
assets/uploads/profilepic/patient/222_man.png
+0
-0
No files found.
application/controllers/Home.php
View file @
bb2f9664
...
@@ -269,7 +269,7 @@ class Home extends CI_Controller {
...
@@ -269,7 +269,7 @@ class Home extends CI_Controller {
parse_str
(
$_REQUEST
[
'data'
],
$output
);
parse_str
(
$_REQUEST
[
'data'
],
$output
);
$reg_data
=
array
(
'email'
=>
$output
[
'reg_pat_email'
],
'name'
=>
$output
[
'reg_pat_name'
],
'username'
=>
$output
[
'reg_pat_username'
],
'password'
=>
md5
(
$output
[
'reg_pat_password'
]),
'cpf'
=>
$output
[
'reg_pat_cpf'
],
'rg'
=>
$output
[
'reg_pat_rg'
],
'dob'
=>
strtotime
(
$output
[
'reg_pat_dob'
]),
'gender'
=>
$output
[
'reg_pat_gender'
],
'weight'
=>
$output
[
'reg_pat_weight'
],
'height'
=>
$output
[
'reg_pat_height'
],
'blood_group'
=>
$output
[
'reg_pat_bloodgrp'
],
'zip_code'
=>
$output
[
'reg_pat_cep'
],
'street_address'
=>
$output
[
'reg_pat_streetadd'
],
'locality'
=>
$output
[
'reg_pat_locality'
],
'number'
=>
$output
[
'reg_pat_number'
],
'landmark'
=>
$output
[
'reg_pat_complement'
]
,
'occupation'
=>
$output
[
'reg_pat_occupation'
]
);
$reg_data
=
array
(
'email'
=>
$output
[
'reg_pat_email'
],
'name'
=>
encrypt_data
(
$output
[
'reg_pat_name'
]),
'username'
=>
$output
[
'reg_pat_username'
],
'password'
=>
md5
(
$output
[
'reg_pat_password'
]),
'cpf'
=>
$output
[
'reg_pat_cpf'
],
'rg'
=>
encrypt_data
(
$output
[
'reg_pat_rg'
]),
'dob'
=>
strtotime
(
$output
[
'reg_pat_dob'
]),
'gender'
=>
encrypt_data
(
$output
[
'reg_pat_gender'
]),
'weight'
=>
encrypt_data
(
$output
[
'reg_pat_weight'
]),
'height'
=>
encrypt_data
(
$output
[
'reg_pat_height'
]),
'blood_group'
=>
encrypt_data
(
$output
[
'reg_pat_bloodgrp'
]),
'zip_code'
=>
encrypt_data
(
$output
[
'reg_pat_cep'
]),
'street_address'
=>
encrypt_data
(
$output
[
'reg_pat_streetadd'
]),
'locality'
=>
encrypt_data
(
$output
[
'reg_pat_locality'
]),
'number'
=>
encrypt_data
(
$output
[
'reg_pat_number'
]),
'landmark'
=>
encrypt_data
(
$output
[
'reg_pat_complement'
])
,
'occupation'
=>
$output
[
'reg_pat_occupation'
]
);
//print_r($reg_data);die();
//print_r($reg_data);die();
...
...
This diff is collapsed.
Click to expand it.
application/controllers/Patient.php
View file @
bb2f9664
...
@@ -24,6 +24,7 @@ public function index()
...
@@ -24,6 +24,7 @@ public function index()
$template
[
'data'
]
=
"Patient page"
;
$template
[
'data'
]
=
"Patient page"
;
$patient_data
=
$this
->
Patient_model
->
get_single_patient
(
$userdata
[
'id'
]);
$patient_data
=
$this
->
Patient_model
->
get_single_patient
(
$userdata
[
'id'
]);
//$patient_data['pt_complement'] = decrypt_data($patient_data['pt_complement']);
//$patient_data['pt_complement'] = decrypt_data($patient_data['pt_complement']);
// print_r($patient_data['pt_complement']);die();
// print_r($patient_data['pt_complement']);die();
$completed_consultation
=
$this
->
Patient_model
->
get_patient_completed_consultation
(
$userdata
[
'id'
]);
$completed_consultation
=
$this
->
Patient_model
->
get_patient_completed_consultation
(
$userdata
[
'id'
]);
...
...
This diff is collapsed.
Click to expand it.
assets/uploads/profilepic/patient/221_man.png
0 → 100644
View file @
bb2f9664
961 Bytes
This diff is collapsed.
Click to expand it.
assets/uploads/profilepic/patient/222_man.png
0 → 100644
View file @
bb2f9664
961 Bytes
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