Line 99... |
Line 99... |
99 |
foreach($Redirect as $Key => $Value) |
99 |
foreach($Redirect as $Key => $Value) |
100 |
{ |
100 |
{ |
101 |
$Path=$Value; |
101 |
$Path=$Value; |
102 |
if ($Lang<>"") |
102 |
if ($Lang<>"") |
103 |
if (file_exists($_SERVER["DOCUMENT_ROOT"].$Path.".".$Lang.".html")) |
103 |
if (file_exists($_SERVER["DOCUMENT_ROOT"].$Path.".".$Lang.".html")) |
104 |
$Path.=".".$Lang.".html"; |
104 |
$Path.=".".$Lang.".html"; |
105 |
$Table.=$Indent." <tr>\n"; |
105 |
$Table.=$Indent." <tr>\n"; |
106 |
$Table.=$Indent." <td> <a href=\"$Path\">$Key</a></td>\n"; |
106 |
$Table.=$Indent." <td> <a href=\"$Path\">$Key</a></td>\n"; |
107 |
$Table.=$Indent." <td> $Value </td>\n"; |
107 |
$Table.=$Indent." <td> $Value </td>\n"; |
108 |
$Table.=$Indent." </tr>\n"; |
108 |
$Table.=$Indent." </tr>\n"; |
109 |
} |
109 |
} |