93,13 → 93,17 |
// Generate List (table) |
$Table = "<table>\n"; |
$Table.=$Indent." <tr>\n"; |
$Table.=$Indent." <th> $TextDR </th>\n"; |
$Table.=$Indent." <th> $TextDL </th>\n"; |
$Table.=$Indent." <th> $TextREDIR </th>\n"; |
$Table.=$Indent." </tr>\n"; |
foreach($Redirect as $Key => $Value) |
{ |
$Path=$Value; |
if ($Lang<>"") |
if (file_exists($_SERVER["DOCUMENT_ROOT"].$Path.".".$Lang.".html")) |
$Path.=".".$Lang.".html"; |
$Table.=$Indent." <tr>\n"; |
$Table.=$Indent." <td> <a href=\"$Value\">$Key</a></td>\n"; |
$Table.=$Indent." <td> <a href=\"$Path\">$Key</a></td>\n"; |
$Table.=$Indent." <td> $Value </td>\n"; |
$Table.=$Indent." </tr>\n"; |
} |