DEBUG
FN args: Array
(
[0] => 2883
[1] => NELSON
[2] => VA
[3] => agent
[4] => 1
[5] => 1
[6] =>
[7] => 2
)
BEFORE:
Site: 2883
LocID: NELSON
Region: VA
State: agent
Experttype: 1
Expertnum: 1
ProcessOverride:
SearchNearby: 2
DisplayCount: 1
SITE IS NUMERIC, SWAPPING
IFELSE numeric
IFELSE else
AFTER:
Site: 2883
Igate: njhud
LocID: 2883
Region: NELSON
State: VA
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 = 2883 AND i.igate IN ('nwhud','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 = 'nwhud', 0, 1), IF(i.igate = 'ushud', 0, 1) LIMIT 0, 1;DEBUG
FN args: Array
(
[0] => 2883
[1] => NELSON
[2] => VA
[3] => lender
[4] => 1
[5] => 1
[6] =>
[7] => 2
)
BEFORE:
Site: 2883
LocID: NELSON
Region: VA
State: lender
Experttype: 1
Expertnum: 1
ProcessOverride:
SearchNearby: 2
DisplayCount: 1
SITE IS NUMERIC, SWAPPING
IFELSE numeric
IFELSE else
AFTER:
Site: 2883
Igate: njhud
LocID: 2883
Region: NELSON
State: VA
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 = 2883 AND i.igate IN ('nwhud','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 = 'nwhud', 0, 1), IF(i.igate = 'ushud', 0, 1) LIMIT 0, 1;DEBUG
FN args: Array
(
[0] => 2883
[1] => NELSON
[2] => VA
[3] => other
[4] => 1
[5] => 1
[6] =>
[7] => 2
)
BEFORE:
Site: 2883
LocID: NELSON
Region: VA
State: other
Experttype: 1
Expertnum: 1
ProcessOverride:
SearchNearby: 2
DisplayCount: 1
SITE IS NUMERIC, SWAPPING
IFELSE numeric
IFELSE else
AFTER:
Site: 2883
Igate: njhud
LocID: 2883
Region: NELSON
State: VA
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 = 2883 AND i.igate IN ('nwhud','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 = 'nwhud', 0, 1), IF(i.igate = 'ushud', 0, 1) LIMIT 0, 1;