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
92dae594
Commit
92dae594
authored
Jul 31, 2018
by
Anju M S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp
parent
30d6c72b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
2 deletions
+3
-2
Home.php
application/controllers/Home.php
+1
-1
Patient.php
application/controllers/Patient.php
+1
-0
home.php
application/views/home.php
+1
-1
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 @
92dae594
...
...
@@ -269,7 +269,7 @@ class Home extends CI_Controller {
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();
...
...
application/controllers/Patient.php
View file @
92dae594
...
...
@@ -24,6 +24,7 @@ public function index()
$template
[
'data'
]
=
"Patient page"
;
$patient_data
=
$this
->
Patient_model
->
get_single_patient
(
$userdata
[
'id'
]);
//$patient_data['pt_complement'] = decrypt_data($patient_data['pt_complement']);
// print_r($patient_data['pt_complement']);die();
$completed_consultation
=
$this
->
Patient_model
->
get_patient_completed_consultation
(
$userdata
[
'id'
]);
...
...
application/views/home.php
View file @
92dae594
...
...
@@ -86,7 +86,7 @@ if($this->session->userdata('language') == 'en'){
</div>
</span>
<span
class=
"floatLeft"
>
<a>
<?php
echo
$UserData
[
'name'
]
;
?>
</a>
<a>
<?php
echo
decrypt_data
(
$UserData
[
'name'
])
;
?>
</a>
</span>
</div>
<ul
class=
"dropdown-menu ip_nav_profile_listing"
>
...
...
assets/uploads/profilepic/patient/221_man.png
0 → 100644
View file @
92dae594
961 Bytes
assets/uploads/profilepic/patient/222_man.png
0 → 100644
View file @
92dae594
961 Bytes
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