added agc_sk directory for new Slovak agent translation changed _en directories to redirects that go to main agc and vicidial web directories language translation files corrections git-svn-id: svn://192.168.202.10@972 3d104415-ff17-0410-8863-d5cf3c621b8a
29 lines
1015 B
PHP
29 lines
1015 B
PHP
<?
|
|
$US='_';
|
|
$CL=':';
|
|
$AT='@';
|
|
$DS='-';
|
|
$date = date("r");
|
|
$ip = getenv("REMOTE_ADDR");
|
|
$browser = getenv("HTTP_USER_AGENT");
|
|
$script_name = getenv("SCRIPT_NAME");
|
|
$server_name = getenv("SERVER_NAME");
|
|
$server_port = getenv("SERVER_PORT");
|
|
if (eregi("443",$server_port)) {$HTTPprotocol = 'https://';}
|
|
else {$HTTPprotocol = 'http://';}
|
|
if (($server_port == '80') or ($server_port == '443') ) {$server_port='';}
|
|
else {$server_port = "$CL$server_port";}
|
|
$agcPAGE = "$HTTPprotocol$server_name$server_port$script_name";
|
|
$agcDIR = eregi_replace('agc_en/vicidial.php','agc',$agcPAGE);
|
|
|
|
header("Location: $agcDIR/vicidial.php");
|
|
echo"<HTML><HEAD>\n";
|
|
echo"<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\n";
|
|
echo"<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=$agcDIR/vicidial.php\">\n";
|
|
echo"</HEAD>\n";
|
|
echo"<BODY BGCOLOR=#FFFFFF marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
|
echo"<a href=\"$agcDIR/vicidial.php\">click here to continue. . .</a>\n";
|
|
echo"</BODY></HTML>\n";
|
|
|
|
exit;
|
|
?>
|