Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
TimeOut
TimeOutAdmin
Commits
d3c94f1c
Commit
d3c94f1c
authored
5 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
ee73d6f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Api_model.php
application/models/Api_model.php
+1
-1
Webservice_model.php
application/models/Webservice_model.php
+4
-4
No files found.
application/models/Api_model.php
View file @
d3c94f1c
...
@@ -785,7 +785,7 @@ class Api_model extends CI_Model {
...
@@ -785,7 +785,7 @@ class Api_model extends CI_Model {
INNER JOIN customer AS CUST ON (CUST.customer_id=BK.customer_id)
INNER JOIN customer AS CUST ON (CUST.customer_id=BK.customer_id)
INNER JOIN event_date_time AS EDATE ON (EDATE.id=BK.event_date_id)
INNER JOIN event_date_time AS EDATE ON (EDATE.id=BK.event_date_id)
INNER JOIN translator_event AS TEVT ON (TEVT.event_id=EVT.event_id)
INNER JOIN translator_event AS TEVT ON (TEVT.event_id=EVT.event_id)
WHERE EVT.status='1' AND BK.status IN ('1','6') AND
EDATE.status='1' AND
WHERE EVT.status='1' AND BK.status IN ('1','6') AND
TEVT.language_code='EN' AND BK.bookId='"
.
$post_data
[
'bookId'
]
.
"'"
;
TEVT.language_code='EN' AND BK.bookId='"
.
$post_data
[
'bookId'
]
.
"'"
;
$bkData
=
$this
->
db
->
query
(
$sql
)
->
row_array
();
$bkData
=
$this
->
db
->
query
(
$sql
)
->
row_array
();
...
...
This diff is collapsed.
Click to expand it.
application/models/Webservice_model.php
View file @
d3c94f1c
...
@@ -706,9 +706,9 @@ class Webservice_model extends CI_Model {
...
@@ -706,9 +706,9 @@ class Webservice_model extends CI_Model {
if
(
empty
(
$phone_no
)
&&
count
(
$phone_no
)
<
10
&&
empty
(
$message
)){
if
(
empty
(
$phone_no
)
&&
count
(
$phone_no
)
<
10
&&
empty
(
$message
)){
return
;
return
;
}
}
$user
=
"
eventstimeout
"
;
$user
=
"
Timeoutksa
"
;
$senderid
=
"
SMSCountry
"
;
$senderid
=
"
Timeout
"
;
$password
=
"
timeout2030
"
;
$password
=
"
24617804
"
;
$url
=
"http://www.smscountry.com/SMSCwebservice_Bulk.aspx"
;
$url
=
"http://www.smscountry.com/SMSCwebservice_Bulk.aspx"
;
$message
=
urlencode
(
$message
);
$message
=
urlencode
(
$message
);
if
(
$ch
=
curl_init
()){
if
(
$ch
=
curl_init
()){
...
@@ -1198,7 +1198,7 @@ class Webservice_model extends CI_Model {
...
@@ -1198,7 +1198,7 @@ class Webservice_model extends CI_Model {
INNER JOIN customer AS CUST ON (CUST.customer_id=BK.customer_id)
INNER JOIN customer AS CUST ON (CUST.customer_id=BK.customer_id)
INNER JOIN event_date_time AS EDATE ON (EDATE.id=BK.event_date_id)
INNER JOIN event_date_time AS EDATE ON (EDATE.id=BK.event_date_id)
WHERE BK.bookId='
$bookId
' AND EVT.status='1' AND
WHERE BK.bookId='
$bookId
' AND EVT.status='1' AND
BK.status IN ('1','6') AND
EDATE.status='1' AND
BK.status IN ('1','6') AND
(TEVT.language_code='
$lang
' OR TEVT.language_code='EN')"
;
(TEVT.language_code='
$lang
' OR TEVT.language_code='EN')"
;
$bkData
=
$this
->
db
->
query
(
$sql
)
->
row_array
();
$bkData
=
$this
->
db
->
query
(
$sql
)
->
row_array
();
...
...
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