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
88cb09fe
Commit
88cb09fe
authored
Aug 09, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
price
parent
48392bfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Webservice_model.php
admin/application/models/Webservice_model.php
+5
-2
No files found.
admin/application/models/Webservice_model.php
View file @
88cb09fe
...
@@ -1080,9 +1080,12 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
...
@@ -1080,9 +1080,12 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
$this
->
db
->
join
(
'tbl_doctors_photos'
,
'tbl_doctors_photos.doctor_id = tbl_doctors.id'
,
'LEFT'
);
$this
->
db
->
join
(
'tbl_doctors_photos'
,
'tbl_doctors_photos.doctor_id = tbl_doctors.id'
,
'LEFT'
);
$this
->
db
->
join
(
'tbl_specialization'
,
'tbl_specialization.id = tbl_doctors.specialization'
,
'LEFT'
);
$this
->
db
->
join
(
'tbl_specialization'
,
'tbl_specialization.id = tbl_doctors.specialization'
,
'LEFT'
);
$this
->
db
->
join
(
'tbl_review'
,
'tbl_review.doctor_id = tbl_doctors.id'
,
'LEFT'
);
$this
->
db
->
join
(
'tbl_review'
,
'tbl_review.doctor_id = tbl_doctors.id'
,
'LEFT'
);
$query
=
$this
->
db
->
get_where
(
"tbl_doctors"
,
array
(
"tbl_doctors.id"
=>
$data
[
'doctor_id'
],
'tbl_clinic_doctors.clinic_id'
=>
$data
[
'clinic_id'
]));
$this
->
db
->
where
(
'tbl_clinic_doctors.clinic_id'
,
$data
[
'clinic_id'
]);
$this
->
db
->
where
(
'tbl_clinic_doctors.doctor_id'
,
$data
[
'doctor_id'
]);
$query
=
$this
->
db
->
get
(
"tbl_doctors"
);
if
(
$query
->
num_rows
()
>
0
&&
!
is_null
(
$query
->
row_array
()[
'id'
])
){
if
(
$query
->
num_rows
()
>
0
/*&& !is_null($query->row_array()['id'])*/
){
$query
=
$query
->
row_array
();
$query
=
$query
->
row_array
();
$this
->
db
->
select
(
"CAST(AES_DECRYPT(`tbl_doctors`.`dob`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR) as dob_new"
);
$this
->
db
->
select
(
"CAST(AES_DECRYPT(`tbl_doctors`.`dob`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR) as dob_new"
);
...
...
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