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:
mattf
2011-01-13 21:37:43 +00:00
parent 610f125932
commit 2a08abeb32
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -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);
}
}
}
+5 -1
View File
@@ -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);
}
}
}