Changeset 226 for trunk/import/index.php
- Timestamp:
- Jul 2, 2009, 11:18:27 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/import/index.php
r223 r226 32 32 foreach($TranslationTree as $Group) 33 33 { 34 if(($Group['MangosTable'] != '') and ($Group['TablePrefix'] != '') )34 if(($Group['MangosTable'] != '') and ($Group['TablePrefix'] != '') and ($Group['MangosDatabase'] == 'mangos')) 35 35 { 36 36 $tables[] = $Group['Id']; … … 87 87 foreach($tables as $table) 88 88 { 89 echo('<a href="?source= sql_mangos&group='.$table.'">'.$TranslationTree[$table]['Name'].'</a>');89 echo('<a href="?source=dbc&group='.$table.'">'.$TranslationTree[$table]['Name'].'</a>'); 90 90 if ($table == $tables[0]) echo(' <strong>Pracuje</strong>'); 91 91 echo ('<br />'); … … 96 96 { 97 97 echo('<script type="text/javascript" language="JavaScript" charset="utf-8">'. 98 'setTimeout("parent.location.href=\''.htmlspecialchars_decode('?source= sql_mangos&group='.$tables[1]).'\'", 3000)</script>');98 'setTimeout("parent.location.href=\''.htmlspecialchars_decode('?source=dbc&group='.$tables[1]).'\'", 3000)</script>'); 99 99 } else { 100 100 echo('<script type="text/javascript" language="JavaScript" charset="utf-8">'. … … 104 104 foreach($tables as $table) 105 105 { 106 echo('<a href="?source= sql_mangos&group='.$table.'">'.$TranslationTree[$table]['Name'].'</a>');106 echo('<a href="?source=dbc&group='.$table.'">'.$TranslationTree[$table]['Name'].'</a>'); 107 107 if ($table < $_GET['group']) echo (' <strong>Hotovo</strong>'); 108 108 if ($table == $_GET['group']) echo (' <strong>Pracuje</strong>'); … … 114 114 { 115 115 echo('<script type="text/javascript" language="JavaScript" charset="utf-8">'. 116 'setTimeout("parent.location.href=\''.htmlspecialchars_decode('?source= sql_mangos&group='.$tables[array_search($_GET['group'],$tables)+1]).'\'", 3000)</script>');116 'setTimeout("parent.location.href=\''.htmlspecialchars_decode('?source=dbc&group='.$tables[array_search($_GET['group'],$tables)+1]).'\'", 3000)</script>'); 117 117 } else { 118 118 echo('<script type="text/javascript" language="JavaScript" charset="utf-8">'.
Note:
See TracChangeset
for help on using the changeset viewer.