Fixed missing EXTERNAL_IP function for recording links in modify lead and user stats reports.
git-svn-id: svn://192.168.202.10@1591 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1009,7 +1009,7 @@ else
|
||||
|
||||
if ($rowx[0] > 0)
|
||||
{
|
||||
$stmt="select recording_web_link,alt_server_ip from servers where server_ip='$URLserver_ip';";
|
||||
$stmt="select recording_web_link,alt_server_ip,external_server_ip from servers where server_ip='$URLserver_ip';";
|
||||
$rsltx=mysql_query($stmt, $link);
|
||||
$rowx=mysql_fetch_row($rsltx);
|
||||
|
||||
@@ -1017,6 +1017,10 @@ else
|
||||
{
|
||||
$location = eregi_replace($URLserver_ip, $rowx[1], $location);
|
||||
}
|
||||
if (eregi("EXTERNAL_IP",$rowx[0]))
|
||||
{
|
||||
$location = eregi_replace($URLserver_ip, $rowx[2], $location);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -837,7 +837,7 @@ echo "<tr><td><font size=1># </td><td align=left><font size=2> LEAD</td><td><fon
|
||||
|
||||
if ($rowx[0] > 0)
|
||||
{
|
||||
$stmt="select recording_web_link,alt_server_ip from servers where server_ip='$URLserver_ip';";
|
||||
$stmt="select recording_web_link,alt_server_ip,external_server_ip from servers where server_ip='$URLserver_ip';";
|
||||
$rsltx=mysql_query($stmt, $link);
|
||||
$rowx=mysql_fetch_row($rsltx);
|
||||
|
||||
@@ -845,6 +845,10 @@ echo "<tr><td><font size=1># </td><td align=left><font size=2> LEAD</td><td><fon
|
||||
{
|
||||
$location = eregi_replace($URLserver_ip, $rowx[1], $location);
|
||||
}
|
||||
if (eregi("EXTERNAL_IP",$rowx[0]))
|
||||
{
|
||||
$location = eregi_replace($URLserver_ip, $rowx[2], $location);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user