DEBUG
FN args: Array
(
[0] => 2144
[1] => CREEK
[2] => OK
[3] => agent
[4] => 1
[5] => 1
[6] =>
[7] => 2
)
BEFORE:
Site: 2144
LocID: CREEK
Region: OK
State: agent
Experttype: 1
Expertnum: 1
ProcessOverride:
SearchNearby: 2
DisplayCount: 1
SITE IS NUMERIC, SWAPPING
IFELSE numeric
IFELSE else
AFTER:
Site: 2144
Igate: njhud
LocID: 2144
Region: CREEK
State: OK
Experttype: agent
Expertnum: 1
ProcessOverride: 1
SearchNearby:
DisplayCount: 2
QUERY: SELECT e.Slogan AS expert_slogan, e.expertIdNum, m.expertname AS expertname2, m.expertpos, i.igate_index, m.datestamp, s.state, REPLACE(s.county, '.', '') AS county, m.locationID, e.name AS expertname, e.company AS company, e.phonetext1 AS expert_pt1, e.phonetext2 AS expert_pt2, e.phonenum1 AS expert_ph1, e.phonenum2 AS expert_ph2, e.address AS expert_address, e.email AS expert_email, e.bannerphoto AS expert_photo, e.webpage AS webAddress, e.bannerlogo AS expert_logo FROM mimian m, igate i, states s, bannersNew e, ExpertAdminInfo eai WHERE m.igate = i.igate AND m.locationID = s.locationID AND e.ExpertID = m.expertName AND eai.username = e.expertid AND s.locationid = 2144 AND i.igate IN ('ohhud','ushud') AND m.expertType = 'agent' ORDER BY i.igate_index DESC, IF(m.expertpos = 'P', 0, IF(m.expertpos = 'PD', 1, 2)), m.priority, m.datestamp DESC, IF(i.igate = 'ohhud', 0, 1), IF(i.igate = 'ushud', 0, 1) LIMIT 0, 1;DEBUG
FN args: Array
(
[0] => 2144
[1] => CREEK
[2] => OK
[3] => lender
[4] => 1
[5] => 1
[6] =>
[7] => 2
)
BEFORE:
Site: 2144
LocID: CREEK
Region: OK
State: lender
Experttype: 1
Expertnum: 1
ProcessOverride:
SearchNearby: 2
DisplayCount: 1
SITE IS NUMERIC, SWAPPING
IFELSE numeric
IFELSE else
AFTER:
Site: 2144
Igate: njhud
LocID: 2144
Region: CREEK
State: OK
Experttype: lender
Expertnum: 1
ProcessOverride: 1
SearchNearby:
DisplayCount: 2
QUERY: SELECT e.Slogan AS expert_slogan, e.expertIdNum, m.expertname AS expertname2, m.expertpos, i.igate_index, m.datestamp, s.state, REPLACE(s.county, '.', '') AS county, m.locationID, e.name AS expertname, e.company AS company, e.phonetext1 AS expert_pt1, e.phonetext2 AS expert_pt2, e.phonenum1 AS expert_ph1, e.phonenum2 AS expert_ph2, e.address AS expert_address, e.email AS expert_email, e.bannerphoto AS expert_photo, e.webpage AS webAddress, e.bannerlogo AS expert_logo FROM mimian m, igate i, states s, bannersNew e, ExpertAdminInfo eai WHERE m.igate = i.igate AND m.locationID = s.locationID AND e.ExpertID = m.expertName AND eai.username = e.expertid AND s.locationid = 2144 AND i.igate IN ('ohhud','ushud') AND m.expertType = 'lender' ORDER BY i.igate_index DESC, IF(m.expertpos = 'P', 0, IF(m.expertpos = 'PD', 1, 2)), m.priority, m.datestamp DESC, IF(i.igate = 'ohhud', 0, 1), IF(i.igate = 'ushud', 0, 1) LIMIT 0, 1;DEBUG
FN args: Array
(
[0] => 2144
[1] => CREEK
[2] => OK
[3] => other
[4] => 1
[5] => 1
[6] =>
[7] => 2
)
BEFORE:
Site: 2144
LocID: CREEK
Region: OK
State: other
Experttype: 1
Expertnum: 1
ProcessOverride:
SearchNearby: 2
DisplayCount: 1
SITE IS NUMERIC, SWAPPING
IFELSE numeric
IFELSE else
AFTER:
Site: 2144
Igate: njhud
LocID: 2144
Region: CREEK
State: OK
Experttype: other
Expertnum: 1
ProcessOverride: 1
SearchNearby:
DisplayCount: 2
QUERY: SELECT e.Slogan AS expert_slogan, e.expertIdNum, m.expertname AS expertname2, m.expertpos, i.igate_index, m.datestamp, s.state, REPLACE(s.county, '.', '') AS county, m.locationID, e.name AS expertname, e.company AS company, e.phonetext1 AS expert_pt1, e.phonetext2 AS expert_pt2, e.phonenum1 AS expert_ph1, e.phonenum2 AS expert_ph2, e.address AS expert_address, e.email AS expert_email, e.bannerphoto AS expert_photo, e.webpage AS webAddress, e.bannerlogo AS expert_logo FROM mimian m, igate i, states s, bannersNew e, ExpertAdminInfo eai WHERE m.igate = i.igate AND m.locationID = s.locationID AND e.ExpertID = m.expertName AND eai.username = e.expertid AND s.locationid = 2144 AND i.igate IN ('ohhud','ushud') AND m.expertType = 'other' ORDER BY i.igate_index DESC, IF(m.expertpos = 'P', 0, IF(m.expertpos = 'PD', 1, 2)), m.priority, m.datestamp DESC, IF(i.igate = 'ohhud', 0, 1), IF(i.igate = 'ushud', 0, 1) LIMIT 0, 1;