DEBUG
FN args: Array
(
[0] => 2863
[1] => HENRICO (RICHMOND)
[2] => VA
[3] => agent
[4] => 1
[5] => 1
[6] =>
[7] => 2
)
BEFORE:
Site: 2863
LocID: HENRICO (RICHMOND)
Region: VA
State: agent
Experttype: 1
Expertnum: 1
ProcessOverride:
SearchNearby: 2
DisplayCount: 1
SITE IS NUMERIC, SWAPPING
IFELSE numeric
IFELSE hudvalues
AFTER:
Site: hudmax
Igate: hudmax
LocID: 2863
Region: HENRICO (RICHMOND)
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 = 2863 AND eai.ishudvalues = 1 AND m.expertType = 'agent' ORDER BY IF (m.expertpos = 'P' AND i.igate = 'hudmax', 0, 99), IF (m.expertpos = 'P', 1, 99), IF (i.igate = 'hudmax', 2, 99), RAND() LIMIT 0, 1;DEBUG
FN args: Array
(
[0] => 2863
[1] => HENRICO (RICHMOND)
[2] => VA
[3] => lender
[4] => 1
[5] => 1
[6] =>
[7] => 2
)
BEFORE:
Site: 2863
LocID: HENRICO (RICHMOND)
Region: VA
State: lender
Experttype: 1
Expertnum: 1
ProcessOverride:
SearchNearby: 2
DisplayCount: 1
SITE IS NUMERIC, SWAPPING
IFELSE numeric
IFELSE hudvalues
AFTER:
Site: hudmax
Igate: hudmax
LocID: 2863
Region: HENRICO (RICHMOND)
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 = 2863 AND eai.ishudvalues = 1 AND m.expertType = 'lender' ORDER BY IF (m.expertpos = 'P' AND i.igate = 'hudmax', 0, 99), IF (m.expertpos = 'P', 1, 99), IF (i.igate = 'hudmax', 2, 99), RAND() LIMIT 0, 1;DEBUG
FN args: Array
(
[0] => 2863
[1] => HENRICO (RICHMOND)
[2] => VA
[3] => other
[4] => 1
[5] => 1
[6] =>
[7] => 2
)
BEFORE:
Site: 2863
LocID: HENRICO (RICHMOND)
Region: VA
State: other
Experttype: 1
Expertnum: 1
ProcessOverride:
SearchNearby: 2
DisplayCount: 1
SITE IS NUMERIC, SWAPPING
IFELSE numeric
IFELSE hudvalues
AFTER:
Site: hudmax
Igate: hudmax
LocID: 2863
Region: HENRICO (RICHMOND)
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 = 2863 AND eai.ishudvalues = 1 AND m.expertType = 'other' ORDER BY IF (m.expertpos = 'P' AND i.igate = 'hudmax', 0, 99), IF (m.expertpos = 'P', 1, 99), IF (i.igate = 'hudmax', 2, 99), RAND() LIMIT 0, 1;